cic-stack/apps/cic-meta/scripts/initdb/server.postgres.sql

9 lines
234 B
MySQL
Raw 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,
owner_fingerprint text not null,
hash char(64) not null unique,
content text not null
);
create index if not exists idx_fp on store ((lower(owner_fingerprint)));