Initial import.
This commit is contained in:
7
schema.sql
Normal file
7
schema.sql
Normal file
@@ -0,0 +1,7 @@
|
||||
CREATE TABLE urls (
|
||||
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
|
||||
url TEXT NOT NULL,
|
||||
nurl TEXT NOT NULL, -- normalized url
|
||||
short TEXT NOT NULL UNIQUE,
|
||||
created_at TIMESTAMPTZ NOT NULL DEFAULT
|
||||
);
|
||||
Reference in New Issue
Block a user