added pgsql schema
This commit is contained in:
parent
d103605468
commit
926ec2ba12
8
app/data/packages.pgsql.sql
Normal file
8
app/data/packages.pgsql.sql
Normal file
@ -0,0 +1,8 @@
|
||||
CREATE TABLE packages (
|
||||
id SERIAL,
|
||||
name varchar(255) NOT NULL UNIQUE ,
|
||||
url varchar(512) NOT NULL UNIQUE ,
|
||||
hits integer NOT NULL DEFAULT 0,
|
||||
created_at timestamp NOT NULL,
|
||||
updated_at timestamp NOT NULL
|
||||
);
|
Loading…
x
Reference in New Issue
Block a user