datatrash/init-db.sql

11 lines
292 B
MySQL
Raw Normal View History

2020-07-09 20:01:25 +00:00
CREATE TABLE IF NOT EXISTS files (
id serial,
2020-07-24 17:56:17 +00:00
file_id varchar(255) not null unique,
2020-07-09 20:01:25 +00:00
file_name varchar(255) not null,
valid_till timestamp not null,
kind varchar(255) not null,
primary key (id)
);
ALTER TABLE files ADD COLUMN IF NOT EXISTS delete_on_download boolean;