feat: add users table migration
This commit is contained in:
1 parent
55a4a1285d
commit
c1325925ed
1 file changed
+4
-3
@@ -1,8 +1,9 @@
|
||||
-- TODO: Finish writing SQL migration
|
||||
-- for users table
|
||||
-- +goose Up
|
||||
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
|
||||
|
||||
Reference in new issue
Block a user