aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Update/_1260.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2024-01-07 21:18:20 +0100
committerMario Vavti <mario@mariovavti.com>2024-01-07 21:18:20 +0100
commit4713241444ca045c38c4d855a7e597be58c043df (patch)
treee30f08c8c34fea6f52680cf5c1f956d9c5e30570 /Zotlabs/Update/_1260.php
parent4917170a0da0941f212d3bfdde4e19fcd8c36b88 (diff)
downloadvolse-hubzilla-4713241444ca045c38c4d855a7e597be58c043df.tar.gz
volse-hubzilla-4713241444ca045c38c4d855a7e597be58c043df.tar.bz2
volse-hubzilla-4713241444ca045c38c4d855a7e597be58c043df.zip
set a default value
Diffstat (limited to 'Zotlabs/Update/_1260.php')
-rw-r--r--Zotlabs/Update/_1260.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Update/_1260.php b/Zotlabs/Update/_1260.php
index 026a5cc4d..eac2bae8b 100644
--- a/Zotlabs/Update/_1260.php
+++ b/Zotlabs/Update/_1260.php
@@ -18,8 +18,8 @@ class _1260 {
dbq("START TRANSACTION");
- $r1 = dbq("ALTER TABLE channel ADD channel_epubkey text NOT NULL");
- $r2 = dbq("ALTER TABLE channel ADD channel_eprvkey text NOT NULL");
+ $r1 = dbq("ALTER TABLE channel ADD channel_epubkey text NOT NULL DEFAULT ''");
+ $r2 = dbq("ALTER TABLE channel ADD channel_eprvkey text NOT NULL DEFAULT ''");
$channels = dbq("select channel_id from channel where true");
if ($channels) {