summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrenda Wallace <shiny@cpan.org>2009-12-09 13:09:38 +1300
committerBrenda Wallace <shiny@cpan.org>2009-12-09 13:09:38 +1300
commitb139be6caf39628834ca34f5f7e58c1e08a3ebf3 (patch)
tree549f3919e67e6e8151624cefc46e67c1c933efb5
parent21757186e9a7ffd2e3330fd4ef61ffeb2dc0229b (diff)
added missing table: location_namespace
-rw-r--r--db/08to09_pg.sql10
-rw-r--r--db/statusnet_pg.sql10
2 files changed, 20 insertions, 0 deletions
diff --git a/db/08to09_pg.sql b/db/08to09_pg.sql
index 0bd47dea5..ee590b52f 100644
--- a/db/08to09_pg.sql
+++ b/db/08to09_pg.sql
@@ -39,6 +39,16 @@ create table profile_role (
);
+create table location_namespace (
+
+ id integer /*comment 'identity for this namespace'*/,
+ description text /* comment 'description of the namespace'*/ ,
+ created integer not null /*comment 'date the record was created*/ ,
+ /* modified timestamp comment 'date this record was modified',*/
+ primary key (id)
+
+);
+
create table login_token (
user_id integer not null /* comment 'user owning this token'*/ references "user" (id),
token char(32) not null /* comment 'token useable for logging in'*/,
diff --git a/db/statusnet_pg.sql b/db/statusnet_pg.sql
index 81b329d1e..92546c814 100644
--- a/db/statusnet_pg.sql
+++ b/db/statusnet_pg.sql
@@ -572,6 +572,16 @@ create table profile_role (
);
+create table location_namespace (
+
+ id integer /*comment 'identity for this namespace'*/,
+ description text /* comment 'description of the namespace'*/ ,
+ created integer not null /*comment 'date the record was created*/ ,
+ /* modified timestamp comment 'date this record was modified',*/
+ primary key (id)
+
+);
+
create table login_token (
user_id integer not null /* comment 'user owning this token'*/ references "user" (id),
token char(32) not null /* comment 'token useable for logging in'*/,