add auth
This commit is contained in:
@@ -5,7 +5,8 @@ CREATE TABLE IF NOT EXISTS categories (
|
||||
name TEXT NOT NULL,
|
||||
user_id INT REFERENCES users(id),
|
||||
favorite BOOLEAN DEFAULT FALSE,
|
||||
monthly_limit INT DEFAULT 0
|
||||
monthly_limit INT DEFAULT 0,
|
||||
UNIQUE (user_id, name)
|
||||
);
|
||||
-- +goose StatementEnd
|
||||
|
||||
|
||||
Reference in New Issue
Block a user