Skip to content

Commit cb3c426

Browse files
author
jirooooo
committed
fix: foiregn key defined
1 parent 839b2fb commit cb3c426

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Parser/CreateTableParser.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,7 @@ private static function parseFieldOrKey(array &$tokens, array &$fields, array &$
373373
$indexes[] = $index;
374374
return;
375375
case 'CHECK':
376+
case 'FOREIGN KEY':
376377
return;
377378
}
378379

0 commit comments

Comments
 (0)