summaryrefslogtreecommitdiff
path: root/db/08to09_pg.sql
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-12-11 10:20:32 -0500
committerEvan Prodromou <evan@status.net>2009-12-11 10:20:32 -0500
commit3d06431787430f7102087ee4a8a66319fcb50350 (patch)
tree3cbba321e24381acbca312034fe0f8f764bfd185 /db/08to09_pg.sql
parent63642dccf1d2ad6a42eafed5d4ede86635b554a2 (diff)
add repeat_of column to notice table
Diffstat (limited to 'db/08to09_pg.sql')
-rw-r--r--db/08to09_pg.sql1
1 files changed, 1 insertions, 0 deletions
diff --git a/db/08to09_pg.sql b/db/08to09_pg.sql
index 1df8c249b..0398952f6 100644
--- a/db/08to09_pg.sql
+++ b/db/08to09_pg.sql
@@ -74,6 +74,7 @@ ALTER TABLE notice ADD COLUMN lat decimal(10, 7) /* comment 'latitude'*/;
ALTER TABLE notice ADD COLUMN lon decimal(10,7) /* comment 'longitude'*/;
ALTER TABLE notice ADD COLUMN location_id integer /* comment 'location id if possible'*/ ;
ALTER TABLE notice ADD COLUMN location_ns integer /* comment 'namespace for location'*/;
+ALTER TABLE notice ADD COLUMN repeat_of integer / * comment 'notice this is a repeat of' */ references notice (id);
ALTER TABLE profile ADD COLUMN lat decimal(10,7) /*comment 'latitude'*/ ;
ALTER TABLE profile ADD COLUMN lon decimal(10,7) /*comment 'longitude'*/;