added missing columns in file table

This commit is contained in:
Brenda Wallace 2009-07-22 16:46:32 +12:00
parent 9ab07b4468
commit c34875421a

View File

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