将 015–023 双文件冲突线性化为 015–050;提供已有库 schema_migrations 修复脚本;admin Playwright 对齐 /psy/admin/ 预览路径。 Co-authored-by: Cursor <cursoragent@cursor.com>
11 lines
363 B
SQL
11 lines
363 B
SQL
-- revert OEJTS seed (best-effort soft-delete full scale)
|
|
|
|
UPDATE scale_questions SET deleted_at = now(), updated_at = now()
|
|
WHERE scale_id IN (
|
|
'22222222-2222-2222-2222-222222222201',
|
|
'22222222-2222-2222-2222-222222222210'
|
|
) AND deleted_at IS NULL;
|
|
|
|
UPDATE scales SET deleted_at = now(), updated_at = now()
|
|
WHERE id = '22222222-2222-2222-2222-222222222210';
|