aboutsummaryrefslogtreecommitdiffstats
path: root/install/schema_postgres.sql
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-11-08 15:51:52 -0800
committerzotlabs <mike@macgirvin.com>2018-11-08 15:51:52 -0800
commit4e6758e31de60263e3a630c562efb93a11c57edf (patch)
tree9463ac160be8d4212033daa784b3496df475adf3 /install/schema_postgres.sql
parentd2aa2c080f166e23c4aaaefd09ed7c948a1c3cce (diff)
downloadvolse-hubzilla-4e6758e31de60263e3a630c562efb93a11c57edf.tar.gz
volse-hubzilla-4e6758e31de60263e3a630c562efb93a11c57edf.tar.bz2
volse-hubzilla-4e6758e31de60263e3a630c562efb93a11c57edf.zip
item db updates
Diffstat (limited to 'install/schema_postgres.sql')
-rw-r--r--install/schema_postgres.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/install/schema_postgres.sql b/install/schema_postgres.sql
index ec4fb63ad..6e2a09ebf 100644
--- a/install/schema_postgres.sql
+++ b/install/schema_postgres.sql
@@ -550,6 +550,7 @@ create index "issue_component" on issue ("issue_component");
CREATE TABLE "item" (
"id" serial NOT NULL,
+ "uuid" text NOT NULL DEFAULT '',
"mid" text NOT NULL DEFAULT '',
"aid" bigint NOT NULL DEFAULT '0',
"uid" bigint NOT NULL DEFAULT '0',
@@ -568,6 +569,7 @@ CREATE TABLE "item" (
"source_xchan" text NOT NULL DEFAULT '',
"mimetype" text NOT NULL DEFAULT '',
"title" text NOT NULL,
+ "summary" text NOT NULL,
"body" text NOT NULL,
"html" text NOT NULL,
"app" text NOT NULL DEFAULT '',
@@ -625,6 +627,7 @@ CREATE TABLE "item" (
PRIMARY KEY ("id")
);
create index "item_uid" on item ("uid");
+create index "item_uuid" on item ("uuid");
create index "item_parent" on item ("parent");
create index "item_created" on item ("created");
create index "item_edited" on item ("edited");