mirror of
https://github.com/lus/pasty.git
synced 2023-08-10 21:13:09 +03:00
Implement working postgres driver
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
begin;
|
||||
|
||||
drop table if exists "pastes";
|
||||
|
||||
commit;
|
@@ -0,0 +1,12 @@
|
||||
begin;
|
||||
|
||||
create table if not exists "pastes" (
|
||||
"id" text not null,
|
||||
"content" text not null,
|
||||
"deletionToken" text not null,
|
||||
"created" bigint not null,
|
||||
"autoDelete" boolean not null,
|
||||
primary key ("id")
|
||||
);
|
||||
|
||||
commit;
|
Reference in New Issue
Block a user