getting ready to add partner info

This commit is contained in:
Friendika 2010-12-02 23:04:28 -08:00
parent da62055bf2
commit fac04eda32
3 changed files with 6 additions and 3 deletions

View File

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

View File

@ -285,6 +285,7 @@ CREATE TABLE IF NOT EXISTS `profile` (
`country-name` char(255) NOT NULL, `country-name` char(255) NOT NULL,
`gender` char(32) NOT NULL, `gender` char(32) NOT NULL,
`marital` char(255) NOT NULL, `marital` char(255) NOT NULL,
`showwith` tinyint(1) NOT NULL DEFAULT '0',
`with` text NOT NULL, `with` text NOT NULL,
`sexual` char(255) NOT NULL, `sexual` char(255) NOT NULL,
`politic` char(255) NOT NULL, `politic` char(255) NOT NULL,

View File

@ -179,5 +179,7 @@ function update_1018() {
function update_1019() { function update_1019() {
q("ALTER TABLE `mail` DROP `delivered`"); q("ALTER TABLE `mail` DROP `delivered`");
// leaving open for more updates as this isn't critical enough to roll the build number q("ALTER TABLE `profile` ADD `showwith` TINYINT(1) NOT NULL DEFAULT '0' AFTER `marital` ");
}
}