You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the following migration on a sqlite db fails:
Schema::table('t', function (Blueprint $table) {
$table->renameColumn('foo', 'bar');
$table->dropColumn('baz');
});
while the following works:
Schema::table('t', function (Blueprint $table) {
$table->renameColumn('foo', 'bar');
});
Schema::table('t', function (Blueprint $table) {
$table->dropColumn('baz');
});
SQLSTATE[HY000]: General error: 1 no such column: ... (SQL: CREATE TEMPORARY TABLE __temp__meaning AS SELECT ...)
The text was updated successfully, but these errors were encountered:
salarmehr
changed the title
[bug] placing more than one DDL command in a closure fails Sqlite (5.2 & 5.3)
[bug] placing more than one DDL command in a closure fails (5.2 & 5.3)
Aug 25, 2016
Running the following migration on a sqlite db fails:
while the following works:
SQLSTATE[HY000]: General error: 1 no such column: ... (SQL: CREATE TEMPORARY TABLE __temp__meaning AS SELECT ...)
The text was updated successfully, but these errors were encountered: