create migrations 'add columnt role to users'

This commit is contained in:
valitovgaziz
2024-08-25 05:51:06 +05:00
parent d10f4af8e3
commit 0e50f3826f
2 changed files with 10 additions and 0 deletions
@@ -0,0 +1,9 @@
-- +goose Up
-- +goose StatementBegin
ALTER TABLE users ADD COLUMN role VARCHAR(50);
-- +goose StatementEnd
-- +goose Down
-- +goose StatementBegin
ALTER TABLE users DROP COLUMN role;
-- +goose StatementEnd