Run migrations in a transaction (#60)

This commit is contained in:
Michael Gaffney authored and GitHub committed 2020-05-16 13:26:57 -04:00
1 parent f8b456f3a7
commit 3d614dd732
3 files changed
+13 -1

No files matched your search

@@ -1,3 +1,5 @@
begin;
CREATE TABLE if not exists oplog_entry (
id bigint generated always as identity primary key,
create_time wt_timestamp,
@@ -37,3 +39,5 @@ values
('db_test_user', 1),
('db_test_car', 1),
('db_test_rental', 1);
commit;