aboutsummaryrefslogtreecommitdiffstats
path: root/install/schema_postgres.sql
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-12-17 15:30:26 +0100
committerMario <mario@mariovavti.com>2021-12-17 15:30:26 +0100
commit32a9eaf3b6a68626580078a3302f8dd8e85eb165 (patch)
treedaaeaebb112a3efab55ad0874740afcd5f00b08f /install/schema_postgres.sql
parent91cea1f28a8734f3fbab38260cc301026df7b56b (diff)
downloadvolse-hubzilla-32a9eaf3b6a68626580078a3302f8dd8e85eb165.tar.gz
volse-hubzilla-32a9eaf3b6a68626580078a3302f8dd8e85eb165.tar.bz2
volse-hubzilla-32a9eaf3b6a68626580078a3302f8dd8e85eb165.zip
update db schemas
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 f3fe28f93..c1cbc832b 100644
--- a/install/schema_postgres.sql
+++ b/install/schema_postgres.sql
@@ -37,6 +37,7 @@ CREATE TABLE "abook" (
"abook_incl" TEXT NOT NULL DEFAULT '',
"abook_excl" TEXT NOT NULL DEFAULT '',
"abook_instance" TEXT NOT NULL DEFAULT '',
+ "abook_role" varchar(64) NOT NULL DEFAULT '',
PRIMARY KEY ("abook_id")
);
create index "abook_account" on abook ("abook_account");
@@ -61,6 +62,7 @@ CREATE TABLE "abook" (
create index "abook_dob" on abook ("abook_dob");
create index "abook_connected" on abook ("abook_connected");
create index "abook_channel_closeness" on abook ("abook_channel", "abook_closeness");
+ create index "abook_role" on abook ("abook_role");
CREATE TABLE "account" (
"account_id" serial NOT NULL,