Skip to content

Commit 7e70a7c

Browse files
committed
wip
1 parent 532ff5a commit 7e70a7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Illuminate/Database/Schema/Grammars/SQLiteGrammar.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ public function compileViews()
104104
public function compileColumns($table)
105105
{
106106
return sprintf(
107-
'select name, type, not "notnull" as "nullable", dflt_value as "default", pk as "primary" '
108-
.'from pragma_table_info(%s) order by cid asc',
107+
'select name, type, not "notnull" as "nullable", dflt_value as "default", pk as "primary"'
108+
.'from pragma_table_xinfo(%s) order by cid asc',
109109
$this->quoteString(str_replace('.', '__', $table))
110110
);
111111
}

0 commit comments

Comments
 (0)