aboutsummaryrefslogtreecommitdiffstats
path: root/install/schema_postgres.sql
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-02-24 16:59:50 -0800
committerredmatrix <git@macgirvin.com>2016-02-24 17:00:16 -0800
commit6300f47cdcd921141b8f98b71d373d53aa3d80f2 (patch)
tree4eff5f2dbcd3fbe78e55726186534091832ebf6a /install/schema_postgres.sql
parent2b95580cc006b410c8df7b71846872b0defba68d (diff)
downloadvolse-hubzilla-6300f47cdcd921141b8f98b71d373d53aa3d80f2.tar.gz
volse-hubzilla-6300f47cdcd921141b8f98b71d373d53aa3d80f2.tar.bz2
volse-hubzilla-6300f47cdcd921141b8f98b71d373d53aa3d80f2.zip
schema change to support channel move (a completely different operation than channel clone)
Diffstat (limited to 'install/schema_postgres.sql')
-rw-r--r--install/schema_postgres.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/install/schema_postgres.sql b/install/schema_postgres.sql
index 964ca5966..3302ef6c0 100644
--- a/install/schema_postgres.sql
+++ b/install/schema_postgres.sql
@@ -225,6 +225,7 @@ CREATE TABLE "channel" (
"channel_w_like" bigint NOT NULL DEFAULT '128',
"channel_removed" smallint NOT NULL DEFAULT '0',
"channel_system" smallint NOT NULL DEFAULT '0',
+ "channel_moved" text NOT NULL DEFAULT '',
PRIMARY KEY ("channel_id"),
UNIQUE ("channel_address")
);
@@ -265,6 +266,7 @@ create index "channel_dirdate" on channel ("channel_dirdate");
create index "channel_lastpost" on channel ("channel_lastpost");
create index "channel_removed" on channel ("channel_removed");
create index "channel_system" on channel ("channel_system");
+create index "channel_moved" on channel ("channel_moved");
CREATE TABLE "chat" (
"chat_id" serial NOT NULL,
"chat_room" bigint NOT NULL DEFAULT '0',