feat: add users table migration
This commit is contained in:
@@ -1,8 +1,9 @@
|
|||||||
-- TODO: Finish writing SQL migration
|
|
||||||
-- for users table
|
|
||||||
-- +goose Up
|
-- +goose Up
|
||||||
CREATE TABLE users (
|
CREATE TABLE users (
|
||||||
id UUID
|
id UUID PRIMARY KEY,
|
||||||
|
created_at TIMESTAMP NOT NULL,
|
||||||
|
updated_at TIMESTAMP NOT NULL,
|
||||||
|
name TEXT UNIQUE NOT NULL
|
||||||
);
|
);
|
||||||
|
|
||||||
-- +goose Down
|
-- +goose Down
|
||||||
|
|||||||
Reference in New Issue
Block a user