fix: add statement-breakpoint to migration 0025 and regenerate upgrade SQL
Better-SQLite3 requires --> statement-breakpoint between each statement in a migration file; without it all statements are passed as a single string to Database.prepare() which throws RangeError on multi-statement input.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
ALTER TABLE `sites` ADD `post_refresh_probe_enabled` integer DEFAULT false;
|
||||
--> statement-breakpoint
|
||||
ALTER TABLE `sites` ADD `post_refresh_probe_model` text DEFAULT '';
|
||||
--> statement-breakpoint
|
||||
ALTER TABLE `sites` ADD `post_refresh_probe_scope` text DEFAULT 'single';
|
||||
|
||||
Reference in New Issue
Block a user