1
0
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:
Lukas Schulte Pelkum
2021-04-15 21:30:37 +02:00
parent ce9794b2c6
commit a1d037801c
6 changed files with 914 additions and 11 deletions

View File

@@ -0,0 +1,5 @@
begin;
drop table if exists "pastes";
commit;

View File

@@ -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;