Chase latest change to asset description length with an update to XAssetStore db tables

Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
inv-download
Cinder 2015-03-04 10:02:23 -07:00 committed by BlueWall
parent e5c0b68849
commit e520364f65
2 changed files with 18 additions and 2 deletions

View File

@ -24,4 +24,12 @@ CREATE TABLE `XAssetsData` (
PRIMARY KEY (`hash`) PRIMARY KEY (`hash`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Version 1'; ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Version 1';
COMMIT; COMMIT;
:VERSION 2
BEGIN;
ALTER TABLE xassetsmeta MODIFY Description varchar(128);
COMMIT;

View File

@ -72,4 +72,12 @@ ALTER TABLE xassetsmeta ALTER COLUMN id SET DATA TYPE uuid USING id::uuid;
ALTER TABLE xassetsmeta ALTER COLUMN hash SET DATA TYPE bytea USING hash::bytea; ALTER TABLE xassetsmeta ALTER COLUMN hash SET DATA TYPE bytea USING hash::bytea;
ALTER TABLE xassetsdata ALTER COLUMN hash SET DATA TYPE bytea USING hash::bytea; ALTER TABLE xassetsdata ALTER COLUMN hash SET DATA TYPE bytea USING hash::bytea;
COMMIT; COMMIT;
:VERSION 5
BEGIN;
ALTER TABLE xassetsmeta MODIFY Description varchar(128);
COMMIT;