diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-07-05 10:36:32 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-07-05 10:36:32 +0200 |
commit | f5735fb67b5b59279a33bb8b3852b69f1402c64d (patch) | |
tree | 79f19f6e8f0914da8acf5f82cf0fc4e97153e4c3 | |
parent | fb5b58834951a32a3e5c14a1a48402dd779d1949 (diff) | |
download | volse-hubzilla-f5735fb67b5b59279a33bb8b3852b69f1402c64d.tar.gz volse-hubzilla-f5735fb67b5b59279a33bb8b3852b69f1402c64d.tar.bz2 volse-hubzilla-f5735fb67b5b59279a33bb8b3852b69f1402c64d.zip |
missing abook_{my,their}_perms in pg schema and missing keys in mysql schema
-rw-r--r-- | install/schema_mysql.sql | 2 | ||||
-rw-r--r-- | install/schema_postgres.sql | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/install/schema_mysql.sql b/install/schema_mysql.sql index 6938050cf..4430e9f10 100644 --- a/install/schema_mysql.sql +++ b/install/schema_mysql.sql @@ -43,6 +43,8 @@ CREATE TABLE IF NOT EXISTS `abook` ( KEY `abook_account` (`abook_account`), KEY `abook_channel` (`abook_channel`), KEY `abook_xchan` (`abook_xchan`), + KEY `abook_my_perms` (`abook_my_perms`), + KEY `abook_their_perms` (`abook_their_perms`), KEY `abook_closeness` (`abook_closeness`), KEY `abook_created` (`abook_created`), KEY `abook_updated` (`abook_updated`), diff --git a/install/schema_postgres.sql b/install/schema_postgres.sql index 16b886b16..f3cead9b7 100644 --- a/install/schema_postgres.sql +++ b/install/schema_postgres.sql @@ -16,6 +16,8 @@ CREATE TABLE "abook" ( "abook_account" bigint NOT NULL, "abook_channel" bigint NOT NULL, "abook_xchan" text NOT NULL DEFAULT '', + "abook_my_perms" bigint NOT NULL, + "abook_their_perms" bigint NOT NULL, "abook_closeness" numeric(3) NOT NULL DEFAULT '99', "abook_created" timestamp NOT NULL DEFAULT '0001-01-01 00:00:00', "abook_updated" timestamp NOT NULL DEFAULT '0001-01-01 00:00:00', @@ -40,6 +42,8 @@ CREATE TABLE "abook" ( create index "abook_account" on abook ("abook_account"); create index "abook_channel" on abook ("abook_channel"); create index "abook_xchan" on abook ("abook_xchan"); + create index "abook_my_perms" on abook ("abook_my_perms"); + create index "abook_their_perms" on abook ("abook_their_perms"); create index "abook_closeness" on abook ("abook_closeness"); create index "abook_created" on abook ("abook_created"); create index "abook_updated" on abook ("abook_updated"); |