sqlite驱动更新

This commit is contained in:
thinkphp
2016-01-13 14:26:16 +08:00
parent 4acf06a220
commit b56b9d4824

View File

@@ -46,10 +46,10 @@ class Sqlite extends Driver
$info[$val['name']] = [
'name' => $val['name'],
'type' => $val['type'],
'notnull' => (bool) (1 === $val['notnull']),
'notnull' => 1 === $val['notnull'],
'default' => $val['dflt_value'],
'primary' => '1' == $val['pk'],
'autoinc' => false,
'autoinc' => '1' == $val['pk'],
];
}
}