diff options
author | zotlabs <mike@macgirvin.com> | 2018-09-09 20:53:20 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-09-09 20:53:20 -0700 |
commit | be3b6304742a6c39d73674b1f7422c029e7cd804 (patch) | |
tree | 201ca29e213686bf0ef2797934dd4397be961cf5 /install/schema_postgres.sql | |
parent | c5bc4fe24519079664b8f63a5e9082f0a7ffc945 (diff) | |
download | volse-hubzilla-be3b6304742a6c39d73674b1f7422c029e7cd804.tar.gz volse-hubzilla-be3b6304742a6c39d73674b1f7422c029e7cd804.tar.bz2 volse-hubzilla-be3b6304742a6c39d73674b1f7422c029e7cd804.zip |
important hyperdrive component
Diffstat (limited to 'install/schema_postgres.sql')
-rw-r--r-- | install/schema_postgres.sql | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/install/schema_postgres.sql b/install/schema_postgres.sql index 68c65c830..7f118646e 100644 --- a/install/schema_postgres.sql +++ b/install/schema_postgres.sql @@ -718,6 +718,17 @@ create index "likes_i_mid" on likes ("i_mid"); create index "likes_verb" on likes ("verb"); create index "likes_target_type" on likes ("target_type"); create index "likes_target_id" on likes ("target_id"); +CREATE TABLE listeners ( + id serial NOT NULL, + target_id text NOT NULL, + portable_id text NOT NULL, + ltype smallint NOT NULL DEFAULT '0', + PRIMARY KEY (id) +); +create index "target_id_idx" on listeners ("target_id"); +create index "portable_id_idx" on listeners ("portable_id"); +create index "ltype_idx" on listeners ("ltype"); + CREATE TABLE "mail" ( "id" serial NOT NULL, "convid" bigint NOT NULL DEFAULT '0', |