agessaman
d1ea8a78c2
fix(db): refuse transaction control in migrations; test legacy rollback
...
Review follow-up. A migration script containing COMMIT, BEGIN, ROLLBACK, END, SAVEPOINT, RELEASE or VACUUM would end or escape the runner's transaction and bring back the non-atomic failure; _execute_statements now refuses those statements. Added tests for a rollback that undoes a column added to a pre-existing table (the legacy-database case), for a trailing comment after the last statement, and for the refusal. The changelog now notes that the write lock is held for the whole migration run.
2026-10-01 07:02:03 -07:00
..
2026-07-28 20:08:57 -07:00
2026-09-23 21:38:19 -07:00
2026-09-22 16:21:54 -07:00
2026-09-23 20:47:58 -07:00
2026-09-07 15:13:18 -07:00
2026-05-30 21:54:27 -07:00
2026-09-16 17:32:54 -07:00
2026-09-22 16:21:54 -07:00
2026-07-07 09:37:28 -07:00
2026-09-22 16:21:54 -07:00
2026-07-28 20:07:58 -07:00
2026-09-15 22:34:46 -07:00
2026-09-20 10:43:24 -07:00
2026-07-16 10:21:50 -07:00
2026-09-15 22:34:46 -07:00
2026-10-01 07:02:03 -07:00
2026-07-30 08:06:21 -07:00
2026-03-17 18:07:18 -07:00
2026-04-03 11:15:47 -07:00
2026-09-07 15:45:49 -07:00
2026-08-04 15:16:53 -07:00
2026-09-16 07:59:10 -07:00
2026-03-30 17:36:52 -07:00
2026-09-07 20:28:45 -07:00
2026-08-22 00:16:03 -07:00
2026-07-28 12:44:53 -07:00
2026-07-28 16:56:43 -07:00
2026-09-16 00:14:20 -07:00
2026-08-02 09:48:05 -07:00
2026-09-14 21:31:11 -07:00
2026-09-20 10:43:24 -07:00
2026-09-23 21:38:19 -07:00
2026-09-19 09:12:07 -07:00
2026-07-28 20:08:23 -07:00
2026-03-17 18:07:19 -07:00
2026-04-14 10:14:38 -07:00
2026-07-28 17:14:57 -07:00
2026-09-23 21:38:19 -07:00
2026-09-23 21:38:19 -07:00
2026-08-22 00:16:03 -07:00
2026-09-07 16:16:33 -07:00
2026-08-21 23:32:45 -07:00
2026-08-04 20:33:26 -07:00
2026-09-23 21:38:19 -07:00
2026-07-22 14:15:51 -07:00
2026-07-16 10:40:37 -07:00
2026-09-13 18:36:29 -07:00
2026-07-28 20:07:58 -07:00
2026-07-28 17:14:57 -07:00
2026-03-17 18:07:18 -07:00
2026-07-28 20:08:57 -07:00
2026-09-07 15:45:49 -07:00
2026-09-23 21:38:19 -07:00
2026-08-02 09:48:05 -07:00