* Changed CreatorIDs consistently to varchar(128)

* Deleted redundant migration for assets in SQLite
* Rewrote XInventory migrations in SQLite in the new style
This commit is contained in:
Diva Canto
2010-06-08 15:47:14 -07:00
parent c8b301a644
commit 9b9804a498
8 changed files with 66 additions and 53 deletions

View File

@@ -73,5 +73,5 @@ ALTER TABLE assets ADD COLUMN asset_flags INTEGER NOT NULL DEFAULT 0;
:VERSION 8
ALTER TABLE assets ADD COLUMN CreatorID varchar(36) NOT NULL DEFAULT '';
ALTER TABLE assets ADD COLUMN CreatorID varchar(128) NOT NULL DEFAULT '';

View File

@@ -91,3 +91,11 @@ update inventoryitems set creatorID = '00000000-0000-0000-0000-000000000000' whe
alter table inventoryitems modify column creatorID varchar(36) not NULL default '00000000-0000-0000-0000-000000000000';
COMMIT;
:VERSION 5 # ------------
BEGIN;
alter table inventoryitems modify column creatorID varchar(128) not NULL default '00000000-0000-0000-0000-000000000000';
COMMIT;