diff options
author | zotlabs <mike@macgirvin.com> | 2018-09-05 21:02:06 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-09-05 21:02:06 -0700 |
commit | c5bc4fe24519079664b8f63a5e9082f0a7ffc945 (patch) | |
tree | 9039d12215106b92b21f42977abbcdb44b529f65 /Zotlabs/Update | |
parent | bc4a92b702618aa83991ea65eb24d653cfc6601a (diff) | |
parent | ea381d918021a33a73df40de95fd0c57f0edc5c2 (diff) | |
download | volse-hubzilla-c5bc4fe24519079664b8f63a5e9082f0a7ffc945.tar.gz volse-hubzilla-c5bc4fe24519079664b8f63a5e9082f0a7ffc945.tar.bz2 volse-hubzilla-c5bc4fe24519079664b8f63a5e9082f0a7ffc945.zip |
Merge branch 'dev' of https://framagit.org/hubzilla/core into xdev_merge
Diffstat (limited to 'Zotlabs/Update')
-rw-r--r-- | Zotlabs/Update/_1218.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Update/_1218.php b/Zotlabs/Update/_1218.php index 67d8b49a5..07c7dba20 100644 --- a/Zotlabs/Update/_1218.php +++ b/Zotlabs/Update/_1218.php @@ -7,9 +7,9 @@ class _1218 { function run() { if(ACTIVE_DBTYPE == DBTYPE_POSTGRES) { - $r1 = q("ALTER TABLE hubloc add hubloc_id_url text NOT NULL"); + $r1 = q("ALTER TABLE hubloc add hubloc_id_url text NOT NULL DEFAULT ''"); $r2 = q("create index \"hubloc_id_url\" on hubloc (\"hubloc_id_url\")"); - $r3 = q("ALTER TABLE hubloc add hubloc_site_id text NOT NULL"); + $r3 = q("ALTER TABLE hubloc add hubloc_site_id text NOT NULL DEFAULT ''"); $r4 = q("create index \"hubloc_site_id\" on hubloc (\"hubloc_site_id\")"); $r = $r1 && $r2 && $r3 && $r4; |