From e520364f65e1915e13d28b829e9dd62f6904957d Mon Sep 17 00:00:00 2001 From: Cinder Date: Wed, 4 Mar 2015 10:02:23 -0700 Subject: [PATCH] Chase latest change to asset description length with an update to XAssetStore db tables Signed-off-by: BlueWall --- OpenSim/Data/MySQL/Resources/XAssetStore.migrations | 10 +++++++++- OpenSim/Data/PGSQL/Resources/XAssetStore.migrations | 10 +++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/OpenSim/Data/MySQL/Resources/XAssetStore.migrations b/OpenSim/Data/MySQL/Resources/XAssetStore.migrations index 0c49d0dbc3..d56c917865 100644 --- a/OpenSim/Data/MySQL/Resources/XAssetStore.migrations +++ b/OpenSim/Data/MySQL/Resources/XAssetStore.migrations @@ -24,4 +24,12 @@ CREATE TABLE `XAssetsData` ( PRIMARY KEY (`hash`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Version 1'; -COMMIT; \ No newline at end of file +COMMIT; + +:VERSION 2 + +BEGIN; + +ALTER TABLE xassetsmeta MODIFY Description varchar(128); + +COMMIT; diff --git a/OpenSim/Data/PGSQL/Resources/XAssetStore.migrations b/OpenSim/Data/PGSQL/Resources/XAssetStore.migrations index e87d3a171e..79879b8b21 100644 --- a/OpenSim/Data/PGSQL/Resources/XAssetStore.migrations +++ b/OpenSim/Data/PGSQL/Resources/XAssetStore.migrations @@ -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 xassetsdata ALTER COLUMN hash SET DATA TYPE bytea USING hash::bytea; -COMMIT; \ No newline at end of file +COMMIT; + +:VERSION 5 + +BEGIN; + +ALTER TABLE xassetsmeta MODIFY Description varchar(128); + +COMMIT;