From 631e10f269210cc352acc453fe04f56343c73360 Mon Sep 17 00:00:00 2001
From: Justin Clarke Casey
Date: Thu, 19 Feb 2009 18:31:45 +0000
Subject: * Apply http://opensimulator.org/mantis/view.php?id=3151 * Fixes
 NHibernate overflow exception when saving some objects (under at least
 PostgreSQL 8.3) * Thanks Tommil!

---
 OpenSim/Data/NHibernate/Resources/MySQLDialect/001_AssetStore.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'OpenSim/Data/NHibernate/Resources/MySQLDialect/001_AssetStore.sql')

diff --git a/OpenSim/Data/NHibernate/Resources/MySQLDialect/001_AssetStore.sql b/OpenSim/Data/NHibernate/Resources/MySQLDialect/001_AssetStore.sql
index 9573781..cd0958d 100644
--- a/OpenSim/Data/NHibernate/Resources/MySQLDialect/001_AssetStore.sql
+++ b/OpenSim/Data/NHibernate/Resources/MySQLDialect/001_AssetStore.sql
@@ -1,6 +1,6 @@
 CREATE TABLE Assets (
   ID VARCHAR(36) NOT NULL,
-  Type TINYINT DEFAULT NULL,
+  Type SMALLINT DEFAULT NULL,
   Name VARCHAR(64) DEFAULT NULL,
   Description VARCHAR(64) DEFAULT NULL,
   Local BIT DEFAULT NULL,
-- 
cgit v1.1

