11 lines
298 B
SQL
Executable File
11 lines
298 B
SQL
Executable File
create table if not exists store (
|
|
/*id serial primary key not null,*/
|
|
id integer primary key autoincrement,
|
|
owner_fingerprint text default null,
|
|
hash char(64) not null unique,
|
|
content text not null,
|
|
mime_type text
|
|
);
|
|
|
|
create index if not exists idx_fp on store ((lower(owner_fingerprint)));
|