Skip to content

Commit

Permalink
Added 'profile_picture_url' column to 'users' table to store user pro…
Browse files Browse the repository at this point in the history
…file pictures. (#83)

Co-authored-by: GitHub Gen Changes <>
  • Loading branch information
ariga-bot authored Aug 21, 2024
1 parent 3a752bc commit 3d90be9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions dirs/ecommerce/migrations/20240821082033.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-- Modify "users" table
ALTER TABLE `users` ADD COLUMN `profile_picture_url` varchar(255) NULL;
3 changes: 2 additions & 1 deletion dirs/ecommerce/migrations/atlas.sum
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
h1:klRMbqUTOA/dSZVjBsjuxm2Tyc6vUWKTAfWOOSpNQrU=
h1:4107wOIZs5zHt9Ke00FWE0tlUO02j6ig/6S62GsqSHQ=
20230316085611.sql h1:br6W6LPEnnsejlz/7hRm9zthwStCzjN2vZkqVPxlmvo=
20230316090502.sql h1:GfeRjkSeoCt3JVRtLQNa/r50lRfpAPXS7AqTU2ZNFgY=
20230531091333_products_categories.sql h1:59q2M59dV5dJNv4Lyb2TAJz8V6HekgkLn9z4DoL98jA=
Expand Down Expand Up @@ -38,3 +38,4 @@ h1:klRMbqUTOA/dSZVjBsjuxm2Tyc6vUWKTAfWOOSpNQrU=
20240820130921.sql h1:jI1wgEMLFJ90gSqeQLR1y5PSCWnWX+lmwAE8WXy4Nws=
20240821074731.sql h1:rl5aXrs4DpADb0//yv8LtzrT07jUdpGf4MmcZhKV4XM=
20240821081259.sql h1:jo+miAHGZoIxX6DsIanS8zi/9gvff/qeh6ncJ6Nxw1Q=
20240821082033.sql h1:+3dX5cbTUSk9p8SQKQlH9UggvxZnf7Z96nF2KSkDI5Y=
1 change: 1 addition & 0 deletions dirs/ecommerce/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ CREATE TABLE `users` (
`active` bool NOT NULL DEFAULT 1,
`last_login` timestamp NULL,
`address` varchar(255) NULL,
`profile_picture_url` varchar(255) NULL,
PRIMARY KEY (`id`),
UNIQUE INDEX `email` (`email`),
UNIQUE INDEX `user_name` (`user_name`),
Expand Down

0 comments on commit 3d90be9

Please sign in to comment.