fix sqlite error

This commit is contained in:
2023-07-19 17:04:40 +10:00
parent 67044b7cf9
commit 6690c69efe

View File

@@ -13,6 +13,9 @@ return new class extends Migration
{
Schema::table('attachments', function (Blueprint $table) {
$table->renameColumn('attachable_type', 'addendum_type');
});
Schema::table('attachments', function (Blueprint $table) {
$table->renameColumn('attachable_id', 'addendum_id');
});
}
@@ -24,6 +27,9 @@ return new class extends Migration
{
Schema::table('attachments', function (Blueprint $table) {
$table->renameColumn('addendum_type', 'attachable_type');
});
Schema::table('attachments', function (Blueprint $table) {
$table->renameColumn('addendum_id', 'attachable_id');
});
}