Ejemplo n.º 1
0
 public void Cleanup()
 {
     if (db != null)
     {
         db.Dispose();
     }
     if (database != null)
     {
         database.ExecuteSql("drop table migrations");
         database.ExecuteSql("drop table assets");
     }
 }
 public void Cleanup()
 {
     if (db != null)
     {
         db.Dispose();
     }
     if (database != null)
     {
         database.ExecuteSql("drop table inventoryitems");
         database.ExecuteSql("drop table inventoryfolders");
         database.ExecuteSql("drop table migrations");
     }
 }
Ejemplo n.º 3
0
 private void ClearDB(MySQLManager manager) 
 {
     if (manager != null)
     {
         manager.ExecuteSql("drop table if exists migrations");
         manager.ExecuteSql("drop table if exists prims");
         manager.ExecuteSql("drop table if exists primshapes");
         manager.ExecuteSql("drop table if exists primitems");
         manager.ExecuteSql("drop table if exists terrain");
         manager.ExecuteSql("drop table if exists land");
         manager.ExecuteSql("drop table if exists landaccesslist");
         manager.ExecuteSql("drop table if exists regionban");
         manager.ExecuteSql("drop table if exists regionsettings");
         manager.ExecuteSql("drop table if exists estate_managers");
         manager.ExecuteSql("drop table if exists estate_groups");
         manager.ExecuteSql("drop table if exists estate_users");
         manager.ExecuteSql("drop table if exists estateban");
         manager.ExecuteSql("drop table if exists estate_settings");
         manager.ExecuteSql("drop table if exists estate_map");
     }
 }
Ejemplo n.º 4
0
 public void Cleanup()
 {
     if (db != null)
     {
         db.Dispose();
     }
     // if a new table is added, it has to be dropped here
     if (database != null)
     {
         database.ExecuteSql("drop table regions");
     }
 }
Ejemplo n.º 5
0
 public void Cleanup()
 {
     if (db != null)
     {
         db.Dispose();
     }
     // if a new table is added, it has to be dropped here
     if (database != null)
     {
         database.ExecuteSql("drop table migrations");
         database.ExecuteSql("drop table users");
         database.ExecuteSql("drop table userfriends");
         database.ExecuteSql("drop table agents");
         database.ExecuteSql("drop table avatarappearance");
         database.ExecuteSql("drop table avatarattachments");
     }
 }
Ejemplo n.º 6
0
 private void ClearDB(MySQLManager manager)
 {
     if (manager != null)
     {
         manager.ExecuteSql("drop table if exists migrations");
         manager.ExecuteSql("drop table if exists prims");
         manager.ExecuteSql("drop table if exists primshapes");
         manager.ExecuteSql("drop table if exists primitems");
         manager.ExecuteSql("drop table if exists terrain");
         manager.ExecuteSql("drop table if exists land");
         manager.ExecuteSql("drop table if exists landaccesslist");
         manager.ExecuteSql("drop table if exists regionban");
         manager.ExecuteSql("drop table if exists regionsettings");
         manager.ExecuteSql("drop table if exists estate_managers");
         manager.ExecuteSql("drop table if exists estate_groups");
         manager.ExecuteSql("drop table if exists estate_users");
         manager.ExecuteSql("drop table if exists estateban");
         manager.ExecuteSql("drop table if exists estate_settings");
         manager.ExecuteSql("drop table if exists estate_map");
     }
 }