Merge pull request #5379 from siarie/fix-sqlite-migration

Fix sqlite database migration
This commit is contained in:
daniel 2025-01-03 20:34:58 -07:00 committed by GitHub
commit f1bfcc9528
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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');