aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/NHibernate/Resources/SQLiteDialect/001_AssetStore.sql
diff options
context:
space:
mode:
authorCharles Krinke2009-01-12 20:14:39 +0000
committerCharles Krinke2009-01-12 20:14:39 +0000
commitc00c855cc5decf73d598af5d74a2ef57c547efd3 (patch)
tree03a6e3622db531537c2cfb47a99acd5edf4fe6b7 /OpenSim/Data/NHibernate/Resources/SQLiteDialect/001_AssetStore.sql
parent* Separate starting a client thread into a separate Start() method (which mat... (diff)
downloadopensim-SC_OLD-c00c855cc5decf73d598af5d74a2ef57c547efd3.zip
opensim-SC_OLD-c00c855cc5decf73d598af5d74a2ef57c547efd3.tar.gz
opensim-SC_OLD-c00c855cc5decf73d598af5d74a2ef57c547efd3.tar.bz2
opensim-SC_OLD-c00c855cc5decf73d598af5d74a2ef57c547efd3.tar.xz
Thank you kindly, Tlaukkan (Tommil) for a patch that:
Cleaned up schema creation scripts of MySQL to compliant form and created SQLite scripts from them. In future it would be optimal if scripts from different databases could be generated from MySQL scripts to ensure optimal consistency between schemas of different databases. Did not yet review column names. ID columns seem to have variety in naming which can be confusing.
Diffstat (limited to 'OpenSim/Data/NHibernate/Resources/SQLiteDialect/001_AssetStore.sql')
-rw-r--r--OpenSim/Data/NHibernate/Resources/SQLiteDialect/001_AssetStore.sql22
1 files changed, 9 insertions, 13 deletions
diff --git a/OpenSim/Data/NHibernate/Resources/SQLiteDialect/001_AssetStore.sql b/OpenSim/Data/NHibernate/Resources/SQLiteDialect/001_AssetStore.sql
index 07994f4..15e10b3 100644
--- a/OpenSim/Data/NHibernate/Resources/SQLiteDialect/001_AssetStore.sql
+++ b/OpenSim/Data/NHibernate/Resources/SQLiteDialect/001_AssetStore.sql
@@ -1,14 +1,10 @@
1BEGIN TRANSACTION; 1CREATE TABLE Assets (
2 2 ID VARCHAR(36) NOT NULL,
3create table Assets( 3 Type TINYINT DEFAULT NULL,
4 ID varchar(36) not null primary key, 4 Name VARCHAR(64) DEFAULT NULL,
5 Type int default 0, 5 Description VARCHAR(64) DEFAULT NULL,
6 InvType int default 0, 6 Local BIT DEFAULT NULL,
7 Name varchar(64), 7 Temporary BIT DEFAULT NULL,
8 Description varchar(64), 8 Data BLOB,
9 Local boolean, 9 PRIMARY KEY (ID)
10 Temporary boolean,
11 Data blob
12); 10);
13
14END; \ No newline at end of file