]> granicus.if.org Git - ejabberd/commitdiff
Make PostgreSQL schema compatible with CockroachDB
authorEvgeny Khramtsov <ekhramtsov@process-one.net>
Wed, 23 Oct 2019 11:40:32 +0000 (14:40 +0300)
committerEvgeny Khramtsov <ekhramtsov@process-one.net>
Wed, 23 Oct 2019 11:40:32 +0000 (14:40 +0300)
sql/pg.new.sql
sql/pg.sql

index 1a3d523163cb47bb8833f2b5c672c9a61ba63b19..59fdfc75d30e1ed155a0040f3d9283f904fdc940 100644 (file)
@@ -282,7 +282,7 @@ CREATE TABLE vcard_search (
     server_host text NOT NULL,
     fn text NOT NULL,
     lfn text NOT NULL,
-    family text NOT NULL,
+    "family" text NOT NULL,
     lfamily text NOT NULL,
     given text NOT NULL,
     lgiven text NOT NULL,
index 34d9a4867fb030581ac4b5557225c1e01e2b7fc2..2382338cc70fd9fc15bd6a2cbf960379799054e5 100644 (file)
@@ -125,7 +125,7 @@ CREATE TABLE vcard_search (
     lusername text PRIMARY KEY,
     fn text NOT NULL,
     lfn text NOT NULL,
-    family text NOT NULL,
+    "family" text NOT NULL,
     lfamily text NOT NULL,
     given text NOT NULL,
     lgiven text NOT NULL,