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:
Charles Krinke
2009-01-12 20:14:39 +00:00
parent ade107f04f
commit c00c855cc5
10 changed files with 679 additions and 597 deletions

View File

@@ -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;