Fix sqlite database migration

This commit is contained in:
Sri Aspari 2024-12-06 14:01:08 +07:00
parent 0d107bea4b
commit 1ee9af3772

View file

@ -12,6 +12,7 @@ return new class extends Migration
public function up(): void public function up(): void
{ {
Schema::table('group_posts', function (Blueprint $table) { Schema::table('group_posts', function (Blueprint $table) {
$table->dropUnique(['status_id']);
$table->dropColumn('status_id'); $table->dropColumn('status_id');
$table->dropColumn('reply_child_id'); $table->dropColumn('reply_child_id');
$table->dropColumn('in_reply_to_id'); $table->dropColumn('in_reply_to_id');