summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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'*/,