Publish shitty code
This commit is contained in:
commit
2e36ee2758
24 changed files with 2845 additions and 0 deletions
1
migrations/20240128201312_create-link.down.sql
Normal file
1
migrations/20240128201312_create-link.down.sql
Normal file
|
@ -0,0 +1 @@
|
|||
DROP TABLE IF EXISTS link;
|
6
migrations/20240128201312_create-link.up.sql
Normal file
6
migrations/20240128201312_create-link.up.sql
Normal file
|
@ -0,0 +1,6 @@
|
|||
CREATE TABLE IF NOT EXISTS link (
|
||||
id UUID PRIMARY KEY,
|
||||
slug TEXT UNIQUE NOT NULL,
|
||||
destination TEXT NOT NULL,
|
||||
visit_count INT NOT NULL DEFAULT 0
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue