db support for relationship->with in profiles

This commit is contained in:
Mike Macgirvin 2010-10-19 17:15:00 -07:00
parent d58ff1a8df
commit bf727dc3e8
3 changed files with 6 additions and 1 deletions

View File

@ -2,7 +2,7 @@
set_time_limit(0);
define ( 'BUILD_ID', 1008 );
define ( 'BUILD_ID', 1009 );
define ( 'DFRN_PROTOCOL_VERSION', '2.0' );
define ( 'EOL', "<br />\r\n" );

View File

@ -280,6 +280,7 @@ CREATE TABLE IF NOT EXISTS `profile` (
`country-name` char(255) NOT NULL,
`gender` char(32) NOT NULL,
`marital` char(255) NOT NULL,
`with` text NOT NULL,
`sexual` char(255) NOT NULL,
`politic` char(255) NOT NULL,
`religion` char(255) NOT NULL,

View File

@ -68,3 +68,7 @@ function update_1007() {
q("ALTER TABLE `user` ADD `page-flags` INT NOT NULL DEFAULT '0' AFTER `notify-flags`");
q("ALTER TABLE `user` ADD INDEX ( `nickname` )");
}
function update_1008() {
q("ALTER TABLE `profile` ADD `with` TEXT NOT NULL AFTER `marital` ");
}