feat: update
This commit is contained in:
18
backend/database/migrations/20250430014015_alter_user.sql
Normal file
18
backend/database/migrations/20250430014015_alter_user.sql
Normal file
@@ -0,0 +1,18 @@
|
||||
-- +goose Up
|
||||
-- +goose StatementBegin
|
||||
ALTER TABLE public.users
|
||||
ADD metas jsonb DEFAULT '{}'::jsonb NOT NULL;
|
||||
|
||||
ALTER TABLE public.users
|
||||
ADD auth_token jsonb DEFAULT '{}'::jsonb NOT NULL;
|
||||
|
||||
-- +goose StatementEnd
|
||||
-- +goose Down
|
||||
-- +goose StatementBegin
|
||||
ALTER TABLE public.users
|
||||
DROP COLUMN metas;
|
||||
|
||||
ALTER TABLE public.users
|
||||
DROP COLUMN auth_token;
|
||||
|
||||
-- +goose StatementEnd
|
||||
Reference in New Issue
Block a user