diff --git a/dirs/ecommerce/migrations/20240829131016.sql b/dirs/ecommerce/migrations/20240829131016.sql new file mode 100644 index 0000000..31e487c --- /dev/null +++ b/dirs/ecommerce/migrations/20240829131016.sql @@ -0,0 +1,2 @@ +-- Modify "users" table +ALTER TABLE `users` ADD COLUMN `phone_verified` bool NOT NULL DEFAULT 0; diff --git a/dirs/ecommerce/migrations/atlas.sum b/dirs/ecommerce/migrations/atlas.sum index a9138bc..6de6f33 100644 --- a/dirs/ecommerce/migrations/atlas.sum +++ b/dirs/ecommerce/migrations/atlas.sum @@ -1,4 +1,4 @@ -h1:9VrEXjKyQIlaBpEIH5i4PeJV88Ld5VQvD1C5XbAugK0= +h1:BWyPrPqY16weJP4Ws3vsRMyVZZ55Ob66EqL3TIy6S+0= 20230316085611.sql h1:br6W6LPEnnsejlz/7hRm9zthwStCzjN2vZkqVPxlmvo= 20230316090502.sql h1:GfeRjkSeoCt3JVRtLQNa/r50lRfpAPXS7AqTU2ZNFgY= 20230531091333_products_categories.sql h1:59q2M59dV5dJNv4Lyb2TAJz8V6HekgkLn9z4DoL98jA= @@ -41,3 +41,4 @@ h1:9VrEXjKyQIlaBpEIH5i4PeJV88Ld5VQvD1C5XbAugK0= 20240821082033.sql h1:+3dX5cbTUSk9p8SQKQlH9UggvxZnf7Z96nF2KSkDI5Y= 20240825130739.sql h1:8BJJ5h/CeJNW3T0QQWKTUueqBhokdz/BMFISo0vJgPs= 20240827130923.sql h1:twxLs8CDVZtIiez6dyrK1rJ0x0TKWHRwj7Hlf+yUs7Y= +20240829131016.sql h1:0zYZTAkT2bM3KovKz9e3KrmSKjwqM7qbkIHK1Yybh2c= diff --git a/dirs/ecommerce/schema.sql b/dirs/ecommerce/schema.sql index 0631268..457cee3 100644 --- a/dirs/ecommerce/schema.sql +++ b/dirs/ecommerce/schema.sql @@ -12,6 +12,7 @@ CREATE TABLE `users` ( `last_login` timestamp NULL, `address` varchar(255) NULL, `profile_picture_url` varchar(255) NULL, +`phone_verified` bool NOT NULL DEFAULT 0, PRIMARY KEY (`id`), UNIQUE INDEX `email` (`email`), UNIQUE INDEX `user_name` (`user_name`),