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.
2008-02-18 20:08:07 +00:00
|
|
|
create table file (
|
|
|
|
id text,
|
|
|
|
revision timestamp with time zone,
|
|
|
|
notebook_id text,
|
|
|
|
note_id text,
|
|
|
|
filename text,
|
2008-02-18 20:19:36 +00:00
|
|
|
size_bytes integer,
|
|
|
|
content_type text
|
2008-02-18 20:08:07 +00:00
|
|
|
);
|
|
|
|
alter table file add primary key ( id );
|
2008-02-22 19:47:28 +00:00
|
|
|
create index file_note_id_index on file using btree ( note_id );
|