fix(migration): parse error in show_in_list COMMENT SQL string

Use double-quoted PHP string for Persian COMMENT; '' is SQL escaping, not valid inside PHP single quotes.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-19 14:16:46 +03:30
co-authored by Cursor
parent 08d51ab1d1
commit 832a7683fb
@@ -27,7 +27,7 @@ return new class extends Migration
});
} else {
DB::statement(
'ALTER TABLE `products` MODIFY COLUMN `show_in_list` TINYINT(1) NOT NULL DEFAULT 1 COMMENT ''نمایش در لیست محصولات مشتری'''
"ALTER TABLE `products` MODIFY COLUMN `show_in_list` TINYINT(1) NOT NULL DEFAULT 1 COMMENT 'نمایش در لیست محصولات مشتری'"
);
}
}