diff --git a/install/includes/schema.sql b/install/includes/schema.sql index 6c857eaa..90d832ef 100644 --- a/install/includes/schema.sql +++ b/install/includes/schema.sql @@ -107,7 +107,7 @@ CREATE TABLE `myaac_forum` `author_aid` int(20) NOT NULL default '0', `author_guid` int(20) NOT NULL default '0', `post_text` text NOT NULL, - `post_topic` varchar(255) NOT NULL, + `post_topic` varchar(255) NOT NULL DEFAULT '', `post_smile` tinyint(1) NOT NULL default '0', `post_date` int(20) NOT NULL default '0', `last_edit_aid` int(20) NOT NULL default '0', @@ -180,7 +180,7 @@ CREATE TABLE `myaac_news` `player_id` INT(11) NOT NULL DEFAULT 0, `last_modified_by` INT(11) NOT NULL DEFAULT 0, `last_modified_date` INT(11) NOT NULL DEFAULT 0, - `comments` VARCHAR(50) NOT NULL, + `comments` VARCHAR(50) NOT NULL DEFAULT '', `hidden` TINYINT(1) NOT NULL DEFAULT 0, PRIMARY KEY (`id`) ) ENGINE = MyISAM; diff --git a/install/steps/database.php b/install/steps/database.php index aebe68d9..85216c6e 100644 --- a/install/steps/database.php +++ b/install/steps/database.php @@ -85,7 +85,7 @@ if(!$error) { if(!fieldExist('blocked', 'accounts')) { if(query("ALTER TABLE `accounts` ADD `blocked` TINYINT(1) NOT NULL DEFAULT FALSE COMMENT 'internal usage' AFTER `key`;")) - success($locale['step_database_adding_field'] . ' accounts.created...'); + success($locale['step_database_adding_field'] . ' accounts.blocked...'); } if(!fieldExist('created', 'accounts')) { diff --git a/system/locale/en/install.php b/system/locale/en/install.php index af8d42a8..620eaad0 100644 --- a/system/locale/en/install.php +++ b/system/locale/en/install.php @@ -63,7 +63,7 @@ $locale['step_database_error_only_mysql'] = 'This AAC supports only MySQL. From $locale['step_database_error_table'] = 'Table $TABLE$ doesn\'t exist. Please import your OTS database schema first.'; $locale['step_database_error_table_exist'] = 'Table $TABLE$ already exist. Seems AAC is already installed. Skipping importing MySQL schema..'; $locale['step_database_error_schema'] = 'Error while importing schema:'; -$locale['step_database_success_schema'] = 'Succesfully installed $PREFIX$ tables.'; +$locale['step_database_success_schema'] = 'Successfully installed $PREFIX$ tables.'; $locale['step_database_error_file'] = '$FILE$ couldn\'t be opened. Please copy this content and paste there:'; $locale['step_database_adding_field'] = 'Adding field'; $locale['step_database_modifying_field'] = 'Modifying field';