group_id integer not null /* comment 'group receiving the message' references user_group (id) */,\r
notice_id integer not null /* comment 'notice received' references notice (id) */,\r
created timestamp not null default CURRENT_TIMESTAMP /* comment 'date the notice was created' */,\r
-\r
primary key (group_id, notice_id)\r
);\r
create index group_inbox_created_idx on group_inbox using btree(created);\r
size integer, \r
title varchar(255), \r
date integer, \r
- protected integer\r
+ protected integer,\r
+ filename text /* comment 'if a local file, name of the file' */,\r
+ modified timestamp default CURRENT_TIMESTAMP /* comment 'date this record was modified'*/\r
);\r
\r
create sequence file_oembed_seq;\r