Add "channels" field to profile table.
This commit is contained in:
parent
9d6a4093ba
commit
897910b5c9
2
boot.php
2
boot.php
@ -17,7 +17,7 @@ require_once('include/features.php');
|
||||
define ( 'FRIENDICA_PLATFORM', 'Friendica Red');
|
||||
define ( 'FRIENDICA_VERSION', trim(file_get_contents('version.inc')) . 'R');
|
||||
define ( 'ZOT_REVISION', 1 );
|
||||
define ( 'DB_UPDATE_VERSION', 1036 );
|
||||
define ( 'DB_UPDATE_VERSION', 1037 );
|
||||
|
||||
define ( 'EOL', '<br />' . "\r\n" );
|
||||
define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' );
|
||||
|
@ -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,
|
||||
|
@ -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` ");
|
||||
}
|
||||
|
Reference in New Issue
Block a user