aboutsummaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-03-21 02:21:56 -0700
committerfriendica <info@friendica.com>2013-03-21 02:21:56 -0700
commitd9492a4a7687ba3804fcb353d916002b8fb2853d (patch)
tree52428574e452bf01db114cdb24599ddae3791edd /install
parent4b22c6e531739d96fbe9c78f629aa34c35acb821 (diff)
parent6db6f6640e73b85ddedbcbacb60f06b185372065 (diff)
downloadvolse-hubzilla-d9492a4a7687ba3804fcb353d916002b8fb2853d.tar.gz
volse-hubzilla-d9492a4a7687ba3804fcb353d916002b8fb2853d.tar.bz2
volse-hubzilla-d9492a4a7687ba3804fcb353d916002b8fb2853d.zip
Merge https://github.com/friendica/red into zpull
Diffstat (limited to 'install')
-rw-r--r--install/database.sql1
-rw-r--r--install/update.php6
2 files changed, 6 insertions, 1 deletions
diff --git a/install/database.sql b/install/database.sql
index c321af401..138213fbd 100644
--- a/install/database.sql
+++ b/install/database.sql
@@ -698,6 +698,7 @@ CREATE TABLE IF NOT EXISTS `profile` (
`work` text NOT NULL,
`education` text NOT NULL,
`contact` text NOT NULL,
+ `channels` text NOT NULL,
`homepage` char(255) NOT NULL,
`photo` char(255) NOT NULL,
`thumb` char(255) NOT NULL,
diff --git a/install/update.php b/install/update.php
index 0c7c6e0df..533fd63e5 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1036 );
+define( 'UPDATE_VERSION' , 1037 );
/**
*
@@ -462,3 +462,7 @@ KEY `k` ( `k` )
return UPDATE_SUCCESS;
return UPDATE_FAILED;
}
+
+function update_r1036() {
+ q("ALTER TABLE `profile` ADD `channels` TEXT NOT NULL AFTER `contact` ");
+}