diff options
Diffstat (limited to 'install')
-rw-r--r-- | install/database.sql | 1 | ||||
-rw-r--r-- | install/update.php | 6 |
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` "); +} |