cic-internal-integration/apps/cic-meta/scripts/initdb/server.postgres.sql

10 lines
255 B
MySQL
Raw Permalink Normal View History

2021-05-01 21:52:03 +02:00
create table if not exists store (
2021-02-08 18:31:29 +01:00
id serial primary key not null,
2021-10-25 20:51:08 +02:00
owner_fingerprint text default null,
2021-02-08 18:31:29 +01:00
hash char(64) not null unique,
2021-10-25 20:51:08 +02:00
content text not null,
mime_type text
2021-02-08 18:31:29 +01:00
);
create index if not exists idx_fp on store ((lower(owner_fingerprint)));