9 lines
234 B
SQL
9 lines
234 B
SQL
create table if not exists store (
|
|
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)));
|