Skip to content

Commit 4821cfc

Browse files
authored
Make migrations->down sqlite compatible (#235)
1 parent 38b3645 commit 4821cfc

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

database/migrations/updates/update_assets_table.php.stub

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,7 @@ return new class extends Migration {
6060
Schema::table($this->prefix('assets_meta'), function (Blueprint $table) {
6161
$table->dropIndex(['container', 'folder', 'basename']);
6262

63-
$table->dropColumn('meta');
64-
$table->dropColumn('path');
65-
$table->dropColumn('basename');
66-
$table->dropColumn('filename');
67-
$table->dropColumn('extension');
68-
$table->dropColumn('folder');
69-
$table->dropColumn('container');
63+
$table->dropColumn(['meta', 'path', 'basename', 'filename', 'extension', 'folder', 'container']);
7064
});
7165
}
7266
};

0 commit comments

Comments
 (0)