aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/SQLiteNG/Resources/002_AssetStore.sql
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2010-04-23 17:17:15 +0100
committerJustin Clark-Casey (justincc)2010-04-30 18:59:10 +0100
commit959cd6022504fa3ffe2f69c66ed94827f6ae6951 (patch)
tree4e5d821bf639d37ca42b4b8379a86327a21a6477 /OpenSim/Data/SQLiteNG/Resources/002_AssetStore.sql
parentSlightly tweak README to account for the fact that first-time standalone user... (diff)
downloadopensim-SC-959cd6022504fa3ffe2f69c66ed94827f6ae6951.zip
opensim-SC-959cd6022504fa3ffe2f69c66ed94827f6ae6951.tar.gz
opensim-SC-959cd6022504fa3ffe2f69c66ed94827f6ae6951.tar.bz2
opensim-SC-959cd6022504fa3ffe2f69c66ed94827f6ae6951.tar.xz
Duplicate OpenSim.Data.SQLite into OpenSim.Data.SQLiteNG. SQLiteNG will shortly be changed to work under mono 2.6 and above
Diffstat (limited to 'OpenSim/Data/SQLiteNG/Resources/002_AssetStore.sql')
-rw-r--r--OpenSim/Data/SQLiteNG/Resources/002_AssetStore.sql10
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Data/SQLiteNG/Resources/002_AssetStore.sql b/OpenSim/Data/SQLiteNG/Resources/002_AssetStore.sql
new file mode 100644
index 0000000..5339b84
--- /dev/null
+++ b/OpenSim/Data/SQLiteNG/Resources/002_AssetStore.sql
@@ -0,0 +1,10 @@
1BEGIN TRANSACTION;
2
3CREATE TEMPORARY TABLE assets_backup(UUID,Name,Description,Type,Local,Temporary,Data);
4INSERT INTO assets_backup SELECT UUID,Name,Description,Type,Local,Temporary,Data FROM assets;
5DROP TABLE assets;
6CREATE TABLE assets(UUID,Name,Description,Type,Local,Temporary,Data);
7INSERT INTO assets SELECT UUID,Name,Description,Type,Local,Temporary,Data FROM assets_backup;
8DROP TABLE assets_backup;
9
10COMMIT;