aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-07-12 13:15:20 -0700
committerredmatrix <git@macgirvin.com>2016-07-12 13:15:20 -0700
commitb6987b4287bb2492b8f4000bdef08b376aa5f265 (patch)
tree4a1c669f5b2f2c207521aab7f607223d04542ce8
parented0e2b52d7cf66ada81208c5068f70568a0b2310 (diff)
downloadvolse-hubzilla-b6987b4287bb2492b8f4000bdef08b376aa5f265.tar.gz
volse-hubzilla-b6987b4287bb2492b8f4000bdef08b376aa5f265.tar.bz2
volse-hubzilla-b6987b4287bb2492b8f4000bdef08b376aa5f265.zip
the abconfig defaults weren't changed in the schema files when they were changed in the code
-rw-r--r--install/schema_mysql.sql2
-rw-r--r--install/schema_postgres.sql2
2 files changed, 2 insertions, 2 deletions
diff --git a/install/schema_mysql.sql b/install/schema_mysql.sql
index d2a5ac85e..b43ead050 100644
--- a/install/schema_mysql.sql
+++ b/install/schema_mysql.sql
@@ -1,7 +1,7 @@
CREATE TABLE IF NOT EXISTS `abconfig` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
- `chan` int(10) unsigned NOT NULL DEFAULT '',
+ `chan` int(10) unsigned NOT NULL DEFAULT '0',
`xchan` char(255) NOT NULL DEFAULT '',
`cat` char(255) NOT NULL DEFAULT '',
`k` char(255) NOT NULL DEFAULT '',
diff --git a/install/schema_postgres.sql b/install/schema_postgres.sql
index 378308233..5080d7608 100644
--- a/install/schema_postgres.sql
+++ b/install/schema_postgres.sql
@@ -1,6 +1,6 @@
CREATE TABLE "abconfig" (
"id" serial NOT NULL,
- "chan" bigint NOT NULL,
+ "chan" bigint NOT NULL DEFAULT '0',
"xchan" text NOT NULL,
"cat" text NOT NULL,
"k" text NOT NULL,