diff --git a/dirs/ecommerce/migrations/20240917131046.sql b/dirs/ecommerce/migrations/20240917131046.sql new file mode 100644 index 0000000..eb78a36 --- /dev/null +++ b/dirs/ecommerce/migrations/20240917131046.sql @@ -0,0 +1,2 @@ +-- Modify "users" table +ALTER TABLE `users` DROP COLUMN `profile_picture_url`; diff --git a/dirs/ecommerce/migrations/atlas.sum b/dirs/ecommerce/migrations/atlas.sum index 62cb3b3..b9c85c6 100644 --- a/dirs/ecommerce/migrations/atlas.sum +++ b/dirs/ecommerce/migrations/atlas.sum @@ -1,4 +1,4 @@ -h1:uxeCQck9ZYGdn4OmVrXawyBbDHC3UXHC1KyJmEjiLEU= +h1:Mq7ivohci5yqXwOCTIyyFUsEP7tWvoKq7ynC6brYkUg= 20230316085611.sql h1:br6W6LPEnnsejlz/7hRm9zthwStCzjN2vZkqVPxlmvo= 20230316090502.sql h1:GfeRjkSeoCt3JVRtLQNa/r50lRfpAPXS7AqTU2ZNFgY= 20230531091333_products_categories.sql h1:59q2M59dV5dJNv4Lyb2TAJz8V6HekgkLn9z4DoL98jA= @@ -46,3 +46,4 @@ h1:uxeCQck9ZYGdn4OmVrXawyBbDHC3UXHC1KyJmEjiLEU= 20240903131010.sql h1:GGqMn45ltGFdUkBkGu+Z1BK582+Cb3jPSv0PtZDyg80= 20240912131026.sql h1:8CLY6M0lRS5nb2BU2i2+6o/BY4iszNkAVQfkuLnalwU= 20240915130904.sql h1:0HwnmWE/zmhRTkKqUi2AL08YpWaQKiv7L+obJEG36jM= +20240917131046.sql h1:+q/DmHSX6S+dSLPNj75mVSOdQ+aW+/N5I+yhYJ8Cfe0= diff --git a/dirs/ecommerce/schema.sql b/dirs/ecommerce/schema.sql index edb78af..17b3e79 100644 --- a/dirs/ecommerce/schema.sql +++ b/dirs/ecommerce/schema.sql @@ -11,7 +11,6 @@ CREATE TABLE `users` ( `active` bool NOT NULL DEFAULT 1, `last_login` timestamp NULL, `address` varchar(255) NULL, -`profile_picture_url` varchar(255) NULL, `phone_verified` bool NOT NULL DEFAULT 0, `deleted_at` timestamp NULL, PRIMARY KEY (`id`), @@ -142,4 +141,4 @@ CREATE TABLE `payment_methods` ( PRIMARY KEY (`id`), INDEX `user_id` (`user_id`), CONSTRAINT `payment_methods_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON UPDATE NO ACTION ON DELETE CASCADE -) CHARSET utf8mb4 COLLATE utf8mb4_0900_ai_ci; +) CHARSET utf8mb4 COLLATE utf8mb4_0900_ai_ci; \ No newline at end of file