witten
/
luminotes
Archived
1
0
Fork 0
This repository has been archived on 2023-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
luminotes/model/delta/1.2.0.sql

12 lines
272 B
SQL

create table file (
id text,
revision timestamp with time zone,
notebook_id text,
note_id text,
filename text,
size_bytes integer,
content_type text
);
alter table file add primary key ( id );
create index file_note_id_index on file using btree ( note_id );