Skip to content

Commit

Permalink
chore: run migration for new column
Browse files Browse the repository at this point in the history
  • Loading branch information
luantranminh committed May 12, 2024
1 parent 41bd553 commit 8b0d501
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 4 deletions.
2 changes: 2 additions & 0 deletions internal/testdata/migrations/mysql/20240512024238.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-- Modify "users" table
ALTER TABLE `users` ADD COLUMN `age` bigint NULL;
3 changes: 2 additions & 1 deletion internal/testdata/migrations/mysql/atlas.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
h1:+pZfwCMvS/gKqnOmiZuH5hVicgjUCn1eiV/m8xwCjP4=
h1:EyWYG0960slDir9YpK58ESoedcEsH+CKiFHSuErul/s=
20230627123246.sql h1:+bgzC3WJyyIR6Rv/FUvaNXJ1gkbKJlYcEMgp69yORIY=
20240512024238.sql h1:2kQL4tE/tAhvXuozmRAJ3oXTo1KRz11QosVDw+0va14=
2 changes: 2 additions & 0 deletions internal/testdata/migrations/postgres/20240512024223.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-- Modify "users" table
ALTER TABLE "public"."users" ADD COLUMN "age" bigint NULL;
3 changes: 2 additions & 1 deletion internal/testdata/migrations/postgres/atlas.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
h1:pXrvfywo43u1iE6XyKM8H/22j6XzEbkl+H8vJv2dEqM=
h1:uqmcTXuu1CtyKBXEPvSoc31Grcd1CJSGrp1S1l7aKZA=
20230627123049.sql h1:1jYJM2+VCr9152vg6gayCrcEvuT/FE7ufOyZ86VLaOE=
20240512024223.sql h1:RY4w148OJBBr5sXpfBq6B48p/1cFrTEpH4TlwD7mUps=
2 changes: 2 additions & 0 deletions internal/testdata/migrations/sqlite/20240511123637.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-- Add column "age" to table: "users"
ALTER TABLE `users` ADD COLUMN `age` integer NULL;
3 changes: 2 additions & 1 deletion internal/testdata/migrations/sqlite/atlas.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
h1:cm5y8e8m7yaqwWh9/So2zgxG+kuzUnMSdoOGLLxKnLk=
h1:PLxrE6aQnCB/DzDmVKw6PWEawC1zPVYEB5fQNJ960C4=
20230627123228.sql h1:YfwJdN73sWz1G5/0tU2BtGLyzJCfRQr8blTSquUZ+qo=
20240511123637.sql h1:Kbk3wUzTfBbq8mDdTT08hP93ecNU0y5oTL+O8idEcdQ=
2 changes: 2 additions & 0 deletions internal/testdata/migrations/sqlserver/20240512024328.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-- Modify "users" table
ALTER TABLE [users] ADD [age] bigint NULL;
3 changes: 2 additions & 1 deletion internal/testdata/migrations/sqlserver/atlas.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
h1:D/qN76qAIyjiECQhcjgiXOINHaEKedGPZKcjb+DTBc0=
h1:wFBjEJ2HW3DrEa+JbxBrEd/i01JNYWYOFL3R3u9esTs=
20240124151658.sql h1:KaWALlql7BBV3oPVRT4rn+dvZaolhDmgbTgUPxIhauU=
20240512024328.sql h1:IBON1V3jlts+AqxRhejN82SE7/BIXSUWM0SQ0pvw4wc=

0 comments on commit 8b0d501

Please sign in to comment.