aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Addons/OfflineIM/Resources/IM_Store.migrations
diff options
context:
space:
mode:
authorDiva Canto2013-02-18 15:44:00 -0800
committerDiva Canto2013-02-18 15:44:00 -0800
commit5e709b087ccf380749c6a6da8a8293c23f211efd (patch)
tree741c82f14bb9ede51b7003fb8f6529df1fc36be6 /OpenSim/Addons/OfflineIM/Resources/IM_Store.migrations
parentI need these for OfflineIM and Groups. (diff)
downloadopensim-SC_OLD-5e709b087ccf380749c6a6da8a8293c23f211efd.zip
opensim-SC_OLD-5e709b087ccf380749c6a6da8a8293c23f211efd.tar.gz
opensim-SC_OLD-5e709b087ccf380749c6a6da8a8293c23f211efd.tar.bz2
opensim-SC_OLD-5e709b087ccf380749c6a6da8a8293c23f211efd.tar.xz
Donating Diva OfflineIM as an addon in a single dll, OpenSim.Addons.OpenSim.dll
Diffstat (limited to 'OpenSim/Addons/OfflineIM/Resources/IM_Store.migrations')
-rw-r--r--OpenSim/Addons/OfflineIM/Resources/IM_Store.migrations23
1 files changed, 23 insertions, 0 deletions
diff --git a/OpenSim/Addons/OfflineIM/Resources/IM_Store.migrations b/OpenSim/Addons/OfflineIM/Resources/IM_Store.migrations
new file mode 100644
index 0000000..d1cff8e
--- /dev/null
+++ b/OpenSim/Addons/OfflineIM/Resources/IM_Store.migrations
@@ -0,0 +1,23 @@
1:VERSION 1 # --------------------------
2
3BEGIN;
4
5CREATE TABLE `im_offline` (
6 `ID` MEDIUMINT NOT NULL AUTO_INCREMENT,
7 `PrincipalID` char(36) NOT NULL default '',
8 `Message` text NOT NULL,
9 `TMStamp` timestamp NOT NULL,
10 PRIMARY KEY (`ID`),
11 KEY `PrincipalID` (`PrincipalID`)
12) ENGINE=MyISAM;
13
14COMMIT;
15
16:VERSION 2 # --------------------------
17
18BEGIN;
19
20INSERT INTO `im_offline` SELECT * from `diva_im_offline`;
21DROP TABLE `diva_im_offline`;
22
23COMMIT; \ No newline at end of file