pasty/internal/storage/postgres/migrations/000001_initialize_schema.up...

12 lines
234 B
PL/PgSQL

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;