aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL
diff options
context:
space:
mode:
authorDiva Canto2013-02-19 06:37:20 -0800
committerDiva Canto2013-02-19 06:37:20 -0800
commit46e182dbf546dcb58d088c043a0baa2dcfed9125 (patch)
treea3093e7ddb69c45d876229a430e22cda4f4699b4 /OpenSim/Data/MySQL
parentOne more sql statement on migration #2 for offline im, to really clean up thi... (diff)
downloadopensim-SC-46e182dbf546dcb58d088c043a0baa2dcfed9125.zip
opensim-SC-46e182dbf546dcb58d088c043a0baa2dcfed9125.tar.gz
opensim-SC-46e182dbf546dcb58d088c043a0baa2dcfed9125.tar.bz2
opensim-SC-46e182dbf546dcb58d088c043a0baa2dcfed9125.tar.xz
Offline IM: moved the Data and MySQL bits to the corresponding places in core, so that it will be easier to plugin a SQLite backend, if anyone is interested in doing that.
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/MySQL/MySQLOfflineIMData.cs (renamed from OpenSim/Addons/OfflineIM/Data/MySQLOfflineIMData.cs)8
-rw-r--r--OpenSim/Data/MySQL/Resources/IM_Store.migrations (renamed from OpenSim/Addons/OfflineIM/Resources/IM_Store.migrations)0
2 files changed, 1 insertions, 7 deletions
diff --git a/OpenSim/Addons/OfflineIM/Data/MySQLOfflineIMData.cs b/OpenSim/Data/MySQL/MySQLOfflineIMData.cs
index 0a61cd2..252f358 100644
--- a/OpenSim/Addons/OfflineIM/Data/MySQLOfflineIMData.cs
+++ b/OpenSim/Data/MySQL/MySQLOfflineIMData.cs
@@ -36,16 +36,10 @@ using OpenSim.Data.MySQL;
36using OpenMetaverse; 36using OpenMetaverse;
37using MySql.Data.MySqlClient; 37using MySql.Data.MySqlClient;
38 38
39namespace OpenSim.OfflineIM 39namespace OpenSim.Data.MySQL
40{ 40{
41 public class MySQLOfflineIMData : MySQLGenericTableHandler<OfflineIMData>, IOfflineIMData 41 public class MySQLOfflineIMData : MySQLGenericTableHandler<OfflineIMData>, IOfflineIMData
42 { 42 {
43 protected override Assembly Assembly
44 {
45 // WARNING! Moving migrations to this assembly!!!
46 get { return GetType().Assembly; }
47 }
48
49 public MySQLOfflineIMData(string connectionString, string realm) 43 public MySQLOfflineIMData(string connectionString, string realm)
50 : base(connectionString, realm, "IM_Store") 44 : base(connectionString, realm, "IM_Store")
51 { 45 {
diff --git a/OpenSim/Addons/OfflineIM/Resources/IM_Store.migrations b/OpenSim/Data/MySQL/Resources/IM_Store.migrations
index 7cfcd43..7cfcd43 100644
--- a/OpenSim/Addons/OfflineIM/Resources/IM_Store.migrations
+++ b/OpenSim/Data/MySQL/Resources/IM_Store.migrations