summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-07-22 10:24:34 -0400
committerCraig Andrews <candrews@integralblue.com>2009-07-22 10:24:34 -0400
commit684fc5d002998abd352f4e1c00c1a9a77cd91e53 (patch)
tree48383aafe019cc943692c6191170a421c3d0952b /db
parente70a79d6ab5e9cd8894490d4fc0d3b855e807edc (diff)
parent28b62f357d80d86e17f9688d65809cb959f4be6c (diff)
Merge commit 'br3nda/0.8.x-attachmentfix' into 0.8.x
Diffstat (limited to 'db')
-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;