mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
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.
This commit is contained in:
@@ -1,14 +1,10 @@
|
||||
BEGIN TRANSACTION;
|
||||
|
||||
create table Assets(
|
||||
ID varchar(36) not null primary key,
|
||||
Type int default 0,
|
||||
InvType int default 0,
|
||||
Name varchar(64),
|
||||
Description varchar(64),
|
||||
Local boolean,
|
||||
Temporary boolean,
|
||||
Data blob
|
||||
CREATE TABLE Assets (
|
||||
ID VARCHAR(36) NOT NULL,
|
||||
Type TINYINT DEFAULT NULL,
|
||||
Name VARCHAR(64) DEFAULT NULL,
|
||||
Description VARCHAR(64) DEFAULT NULL,
|
||||
Local BIT DEFAULT NULL,
|
||||
Temporary BIT DEFAULT NULL,
|
||||
Data BLOB,
|
||||
PRIMARY KEY (ID)
|
||||
);
|
||||
|
||||
END;
|
||||
Reference in New Issue
Block a user