aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/PGSQL/Resources/XAssetStore.migrations
diff options
context:
space:
mode:
authorBlueWall2014-10-10 19:24:46 -0400
committerBlueWall2014-10-10 19:58:07 -0400
commit7af878a4f48f1748750d200baa4e59ccbcf75c8e (patch)
tree8a26d0dcf549215133e123806be57e1ab4314a57 /OpenSim/Data/PGSQL/Resources/XAssetStore.migrations
parentChange name of just added OSSL osForceSit() to osForceOtherSit() (diff)
downloadopensim-SC-7af878a4f48f1748750d200baa4e59ccbcf75c8e.zip
opensim-SC-7af878a4f48f1748750d200baa4e59ccbcf75c8e.tar.gz
opensim-SC-7af878a4f48f1748750d200baa4e59ccbcf75c8e.tar.bz2
opensim-SC-7af878a4f48f1748750d200baa4e59ccbcf75c8e.tar.xz
Fix some errors in PgSQL XAssets by changing some data types. Also make sql query syntax more in line with the PgSQL AssetData implementation.
Diffstat (limited to 'OpenSim/Data/PGSQL/Resources/XAssetStore.migrations')
-rw-r--r--OpenSim/Data/PGSQL/Resources/XAssetStore.migrations12
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Data/PGSQL/Resources/XAssetStore.migrations b/OpenSim/Data/PGSQL/Resources/XAssetStore.migrations
index 325ed0d..1513cc3 100644
--- a/OpenSim/Data/PGSQL/Resources/XAssetStore.migrations
+++ b/OpenSim/Data/PGSQL/Resources/XAssetStore.migrations
@@ -25,3 +25,15 @@ CREATE TABLE XAssetsData (
25); 25);
26 26
27COMMIT; 27COMMIT;
28
29
30:VERSION 2
31
32BEGIN;
33
34ALTER TABLE xassetsmeta ALTER COLUMN "Local" SET DATA TYPE boolean USING CASE WHEN '0' THEN FALSE ELSE TRUE END;
35ALTER TABLE xassetsmeta ALTER COLUMN "Temporary" SET DATA TYPE boolean USING CASE WHEN '0' THEN FALSE ELSE TRUE END;
36ALTER TABLE xassetsmeta ALTER COLUMN "Hash" SET DATA TYPE char(66);
37ALTER TABLE xassetsdata ALTER COLUMN "Hash" SET DATA TYPE char(66);
38
39COMMIT; \ No newline at end of file