aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/Migration.cs
diff options
context:
space:
mode:
authorSean Dague2008-06-16 19:22:00 +0000
committerSean Dague2008-06-16 19:22:00 +0000
commit340ef33e2e27b2f5e9b29c41617aec9c542be5f8 (patch)
tree3de21e36df8ecf91ebfaf2c0cf04adee27cb9012 /OpenSim/Data/Migration.cs
parentfutzing around on the NHibernate side again trying to connect (diff)
downloadopensim-SC-340ef33e2e27b2f5e9b29c41617aec9c542be5f8.zip
opensim-SC-340ef33e2e27b2f5e9b29c41617aec9c542be5f8.tar.gz
opensim-SC-340ef33e2e27b2f5e9b29c41617aec9c542be5f8.tar.bz2
opensim-SC-340ef33e2e27b2f5e9b29c41617aec9c542be5f8.tar.xz
fix nhibernate driver so that it starts (based on the appearance
changes it wouldn't come up). include embedded dialect specific sql files for nhibernate migrations figure out how to get the raw db connection so that migrations can work with nhibernate. create initial migration for NHibernate + SQLite + Assets.
Diffstat (limited to 'OpenSim/Data/Migration.cs')
-rw-r--r--OpenSim/Data/Migration.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Data/Migration.cs b/OpenSim/Data/Migration.cs
index 30cd3b6..9447deb 100644
--- a/OpenSim/Data/Migration.cs
+++ b/OpenSim/Data/Migration.cs
@@ -227,10 +227,11 @@ namespace OpenSim.Data
227 227
228 foreach (string s in names) 228 foreach (string s in names)
229 { 229 {
230 m_log.InfoFormat("[MIGRATION] - testing resoure {0}", s);
230 Match m = _match.Match(s); 231 Match m = _match.Match(s);
231 if (m.Success) 232 if (m.Success)
232 { 233 {
233 // m_log.Info("MIGRATION: Match: " + m.Groups[1].ToString()); 234 m_log.Info("MIGRATION: Match: " + m.Groups[1].ToString());
234 int version = int.Parse(m.Groups[1].ToString()); 235 int version = int.Parse(m.Groups[1].ToString());
235 if (version > after) { 236 if (version > after) {
236 using (Stream resource = _assem.GetManifestResourceStream(s)) 237 using (Stream resource = _assem.GetManifestResourceStream(s))