diff options
author | redmatrix <mike@macgirvin.com> | 2016-09-09 21:25:57 -0700 |
---|---|---|
committer | redmatrix <mike@macgirvin.com> | 2016-09-09 21:30:24 -0700 |
commit | 56f66ce0011403dbec6f95a1dcbd81902f78af53 (patch) | |
tree | e1c814ec0f1ebd03ee02fd000d1c5628d6dcb2e0 | |
parent | 57033bb5992253f7de828683b11d628f1c356a51 (diff) | |
download | volse-hubzilla-56f66ce0011403dbec6f95a1dcbd81902f78af53.tar.gz volse-hubzilla-56f66ce0011403dbec6f95a1dcbd81902f78af53.tar.bz2 volse-hubzilla-56f66ce0011403dbec6f95a1dcbd81902f78af53.zip |
issue #511, postgres schema issues
-rw-r--r-- | install/schema_postgres.sql | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/install/schema_postgres.sql b/install/schema_postgres.sql index 44711c190..f7f8f3ce8 100644 --- a/install/schema_postgres.sql +++ b/install/schema_postgres.sql @@ -219,7 +219,7 @@ CREATE TABLE "cal" ( "pass" text NOT NULL, "ctag" text NOT NULL, "synctoken" text NOT NULL, - "cal_types" text NOT NULL DEFAULT "0", + "cal_types" text NOT NULL DEFAULT '0', PRIMARY KEY ("cal_id") ); create index "cal_hash_idx" on cal ("cal_hash"); @@ -940,7 +940,7 @@ create index "photo_album" on photo ("album"); create index "photo_imgscale" on photo ("imgscale"); create index "photo_profile" on photo ("profile"); create index "photo_flags" on photo ("photo_flags"); -create index "photo_type" on photo ("type"); +create index "photo_mimetype" on photo ("mimetype"); create index "photo_aid" on photo ("aid"); create index "photo_xchan" on photo ("xchan"); create index "photo_filesize" on photo ("filesize"); |