create migrations 'add columnt role to users'
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user