mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 20:40:49 +08:00
migrations check if table exists
This commit is contained in:
@@ -106,7 +106,7 @@ class Install
|
||||
$filename = basename($path);
|
||||
$count = preg_match('/create_(.*)_table.php/', $filename, $matches);
|
||||
if ($count) {
|
||||
$tables[$matches[1]] = '';
|
||||
$tables[$matches[1]] = $filename;
|
||||
}
|
||||
}
|
||||
return $tables;
|
||||
|
||||
Reference in New Issue
Block a user