This commit is contained in:
13
backend_v1/database/migrations/20251220033752_alter_user.sql
Normal file
13
backend_v1/database/migrations/20251220033752_alter_user.sql
Normal file
@@ -0,0 +1,13 @@
|
||||
-- +goose Up
|
||||
-- +goose StatementBegin
|
||||
-- add phone field to users table
|
||||
ALTER TABLE public.users
|
||||
ADD phone varchar(15) DEFAULT '' NOT NULL;
|
||||
|
||||
-- +goose StatementEnd
|
||||
-- +goose Down
|
||||
-- +goose StatementBegin
|
||||
ALTER TABLE public.users
|
||||
DROP COLUMN phone;
|
||||
|
||||
-- +goose StatementEnd
|
||||
Reference in New Issue
Block a user