- ADD_EXT_SQL("CREATE TABLE `{!_MYSQL_PREFIX!}_optimize_gain`(
- id BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
- gain decimal(10,3) NOT NULL DEFAULT '0.000',
- PRIMARY KEY(id)
-) TYPE={!_TABLE_TYPE!}");
- ADD_EXT_SQL("INSERT INTO `{!_MYSQL_PREFIX!}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('misc','optimize','DB optimieren','Führen Sie dies ab und an aus, damit überflüssige Daten aus der Datenbank entfernt werden.','5')");
+ addDropTableSql('optimize_gain');
+ addCreateTableSql('optimize_gain', "
+`id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
+`gain` DECIMAL(10,3) NOT NULL DEFAULT 0.000,
+PRIMARY KEY (`id`)",
+ 'Optimization history data');
+ addAdminMenuSql('misc', 'optimize', 'DB optimieren', 'Führen Sie dies ab und an aus, damit überflüssige Binärdaten aus der Datenbank entfernt werden.', 5);