aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/Migration.cs
diff options
context:
space:
mode:
authoronefang2019-05-19 21:56:12 +1000
committeronefang2019-05-19 21:56:12 +1000
commitd6bcc229eba25ae240322f48ea3f31b832d55ab4 (patch)
tree7235d35cc1065352e443951fec44c7aadcb4fdfe /OpenSim/Data/Migration.cs
parentDump OpenSim 0.9.0.1 into it's own branch. (diff)
downloadopensim-SC-d6bcc229eba25ae240322f48ea3f31b832d55ab4.zip
opensim-SC-d6bcc229eba25ae240322f48ea3f31b832d55ab4.tar.gz
opensim-SC-d6bcc229eba25ae240322f48ea3f31b832d55ab4.tar.bz2
opensim-SC-d6bcc229eba25ae240322f48ea3f31b832d55ab4.tar.xz
Various database fixups.
InnoDB -> MyISAM utf8 if not exists white space
Diffstat (limited to 'OpenSim/Data/Migration.cs')
-rw-r--r--OpenSim/Data/Migration.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Data/Migration.cs b/OpenSim/Data/Migration.cs
index e54bf55..661f9c1 100644
--- a/OpenSim/Data/Migration.cs
+++ b/OpenSim/Data/Migration.cs
@@ -123,7 +123,7 @@ namespace OpenSim.Data
123 if (ver <= 0) // -1 = no table, 0 = no version record 123 if (ver <= 0) // -1 = no table, 0 = no version record
124 { 124 {
125 if (ver < 0) 125 if (ver < 0)
126 ExecuteScript("create table migrations(name varchar(100), version int)"); 126 ExecuteScript("create table if not exists migrations(name varchar(100), version int) ENGINE=MyISAM DEFAULT CHARSET=utf8");
127 InsertVersion("migrations", 1); 127 InsertVersion("migrations", 1);
128 } 128 }
129 } 129 }