Commit 49ca01e
Diocrafts
fix(schema): add DROP TRIGGER IF EXISTS before CREATE TRIGGER trg_sync_media_sort_date
The CREATE TRIGGER statement is not idempotent — it fails on restart
when the trigger already exists. Add the same DROP/CREATE guard used
by trg_files_decrement_blob_ref.1 parent 2bc77a0 commit 49ca01e
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
688 | 688 | | |
689 | 689 | | |
690 | 690 | | |
| 691 | + | |
691 | 692 | | |
692 | 693 | | |
693 | 694 | | |
| |||
0 commit comments