feat: implemented many commands
- added register command - added reset command - added users command - added agg command - added feeds command
This commit is contained in:
1 parent
fb53b052b0
commit
c012f6008c
14 files changed
+619
-6
No files matched your search
@@ -0,0 +1,13 @@
|
||||
-- +goose Up
|
||||
CREATE TABLE feeds (
|
||||
id UUID PRIMARY KEY,
|
||||
created_at TIMESTAMP NOT NULL,
|
||||
updated_at TIMESTAMP NOT NULL,
|
||||
name TEXT NOT NULL,
|
||||
url TEXT UNIQUE NOT NULL,
|
||||
user_id UUID NOT NULL,
|
||||
FOREIGN KEY(user_id) REFERENCES users(id) ON DELETE CASCADE
|
||||
);
|
||||
|
||||
-- +goose Down
|
||||
DROP TABLE feeds;
|
||||
Reference in new issue
Block a user