summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrenda Wallace <shiny@cpan.org>2009-07-22 16:46:32 +1200
committerBrenda Wallace <shiny@cpan.org>2009-07-22 17:10:28 +1200
commit36754f8323fbd200a97ccdc31e2c148104c7ba66 (patch)
treedddd4a64d3cce42138544acc61b526e67c5eb6cf
parent2aa47096b82fd224008d901584f09931c0432c2b (diff)
added missing columns in file table
-rw-r--r--db/laconica_pg.sql5
1 files changed, 3 insertions, 2 deletions
diff --git a/db/laconica_pg.sql b/db/laconica_pg.sql
index f5d35f985..71c99f24f 100644
--- a/db/laconica_pg.sql
+++ b/db/laconica_pg.sql
@@ -441,7 +441,6 @@ create table group_inbox (
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) */,
created timestamp not null default CURRENT_TIMESTAMP /* comment 'date the notice was created' */,
-
primary key (group_id, notice_id)
);
create index group_inbox_created_idx on group_inbox using btree(created);
@@ -456,7 +455,9 @@ create table file (
size integer,
title varchar(255),
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;