Also drop the village reosurces table in VillageModel::drop_table().

This commit is contained in:
Relintai 2021-11-14 19:24:07 +01:00
parent e3c95dce3f
commit 37532f6275

View File

@ -141,6 +141,7 @@ void VillageModel::drop_table() {
tb->drop_table_if_exists(VILLAGE_UNITS_TABLE_NAME)->cdrop_table(); tb->drop_table_if_exists(VILLAGE_UNITS_TABLE_NAME)->cdrop_table();
tb->drop_table_if_exists(VILLAGE_TECHNOLOGIES_TABLE_NAME)->cdrop_table(); tb->drop_table_if_exists(VILLAGE_TECHNOLOGIES_TABLE_NAME)->cdrop_table();
tb->drop_table_if_exists(VILLAGE_BUILDINGS_TABLE_NAME)->cdrop_table(); tb->drop_table_if_exists(VILLAGE_BUILDINGS_TABLE_NAME)->cdrop_table();
tb->drop_table_if_exists(VILLAGE_RESOURCES_TABLE_NAME)->cdrop_table();
tb->drop_table_if_exists(VILLAGE_TABLE_NAME)->cdrop_table(); tb->drop_table_if_exists(VILLAGE_TABLE_NAME)->cdrop_table();
tb->run_query(); tb->run_query();