refactor: simplifier Database avec schema.sql (suppression des migrations)
This commit is contained in:
1 parent
7de8e4782b
commit
e2aaa5dcd4
3 files changed
+1
-66
No files matched your search
@@ -1,16 +0,0 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
require dirname(__DIR__) . '/src/Database.php';
|
||||
|
||||
$applied = Database::runMigrations();
|
||||
|
||||
if ($applied === []) {
|
||||
echo "Nothing to migrate.\n";
|
||||
exit(0);
|
||||
}
|
||||
|
||||
foreach ($applied as $version) {
|
||||
echo "Applied {$version}\n";
|
||||
}
|
||||
File renamed without changes.
Reference in new issue
Block a user