cic-stack/apps/cic-meta/scripts/server/server.sql
2021-02-08 17:31:29 +00:00

10 lines
277 B
SQL

create table if not exists store (
/*id serial primary key not null,*/
id integer primary key autoincrement,
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)));