aboutsummaryrefslogtreecommitdiffstats
path: root/install/schema_postgres.sql
diff options
context:
space:
mode:
Diffstat (limited to 'install/schema_postgres.sql')
-rw-r--r--install/schema_postgres.sql6
1 files changed, 5 insertions, 1 deletions
diff --git a/install/schema_postgres.sql b/install/schema_postgres.sql
index a682aa49d..f8e4ecf5f 100644
--- a/install/schema_postgres.sql
+++ b/install/schema_postgres.sql
@@ -111,7 +111,7 @@ CREATE TABLE "app" (
"app_sig" text NOT NULL DEFAULT '',
"app_author" text NOT NULL DEFAULT '',
"app_name" text NOT NULL DEFAULT '',
- "app_desc" text NOT NULL,
+ "app_desc" text NOT NULL DEFAULT '',
"app_url" text NOT NULL DEFAULT '',
"app_photo" text NOT NULL DEFAULT '',
"app_version" text NOT NULL DEFAULT '',
@@ -122,6 +122,7 @@ CREATE TABLE "app" (
"app_requires" text NOT NULL DEFAULT '',
"app_deleted" smallint NOT NULL DEFAULT '0',
"app_system" smallint NOT NULL DEFAULT '0',
+ "app_plugin" text NOT NULL DEFAULT '',
"app_created" timestamp NOT NULL DEFAULT '0001-01-01 00:00:00',
"app_edited" timestamp NOT NULL DEFAULT '0001-01-01 00:00:00',
PRIMARY KEY ("id")
@@ -138,6 +139,7 @@ create index "app_edited" on app ("app_edited");
create index "app_deleted" on app ("app_deleted");
create index "app_system" on app ("app_system");
+
CREATE TABLE "atoken" (
"atoken_id" serial NOT NULL,
"atoken_aid" bigint NOT NULL DEFAULT 0,
@@ -1041,6 +1043,7 @@ CREATE TABLE "profile" (
"photo" text NOT NULL,
"thumb" text NOT NULL,
"publish" numeric(1) NOT NULL DEFAULT '0',
+ "profile_vcard" text NOT NULL DEFAULT '',
PRIMARY KEY ("id"),
UNIQUE ("profile_guid","uid")
@@ -1134,6 +1137,7 @@ CREATE TABLE "site" (
"site_type" smallint NOT NULL DEFAULT '0',
"site_project" text NOT NULL DEFAULT '',
"site_version" text NOT NULL DEFAULT '',
+ "site_crypto" text NOT NULL DEFAULT '',
PRIMARY KEY ("site_url")
);
create index "site_flags" on site ("site_flags");