dropped obsolete old map-data tables

This commit is contained in:
following
2013-08-16 13:56:05 +02:00
parent 52e064ee84
commit 990de8e21e
4 changed files with 6 additions and 23 deletions

View File

@@ -351,6 +351,12 @@
sql("ALTER TABLE `user` MODIFY COLUMN `admin` smallint(5) unsigned NOT NULL default '0'");
}
function dbv_120() // remove obsolete tables of very old, discarded map code
{
if (sql_table_exists('mapresult')) sql("DROP TABLE `mapresult`");
if (sql_table_exists('mapresult_data')) sql("DROP TABLE `mapresult_data`");
}
// When adding new mutations, take care that they behave well if run multiple
// times. This improves robustness of database versioning.