Cleanup shard table

hg/feature/cdb-packed
kaetemi 10 years ago
parent b0c0439b39
commit 57564a8ab0

@ -0,0 +1,6 @@
ALTER TABLE `shard` DROP `prim` ;
ALTER TABLE `shard` ADD PRIMARY KEY ( `ShardId` ) ;
ALTER TABLE `shard` DROP `PatchURL` ;
ALTER TABLE `shard` DROP `DynPatchURL` ;
ALTER TABLE `shard` DROP `ClientApplication` ;

@ -61,6 +61,10 @@ function upgrade_service_databases($continue_r) {
$continue = update_database_structure($continue, $con, "nel_00002.sql");
$continue = set_db_version($continue, "shard", 2);
}
if ($continue && get_db_version("shard") < 3) {
$continue = update_database_structure($continue, $con, "nel_00003.sql");
$continue = set_db_version($continue, "shard", 3);
}
disconnect_database($con, "shard");
$con = null;

Loading…
Cancel
Save