PGSQL migrations for IM_Store, UserProfiles, removal of casting exception for UserProfiles and adding double precision to PGSQL Manager

PGSQL migrations for IM_Store, UserProfiles, removal of casting
exception for UserProfiles and adding double precision to PGSQL Manager.

Fixes the Offline IM to Email toggle and prepares for fixing Offline
IM.

Signed-off-by: Oren Hurvitz <orenh@kitely.com>
This commit is contained in:
Geir Nøklebye
2015-07-27 14:25:28 +02:00
committed by Oren Hurvitz
parent e979a7e7f0
commit 1de8c3570d
5 changed files with 35 additions and 1 deletions

View File

@@ -249,6 +249,10 @@ namespace OpenSim.Data.PGSQL
{
return (DateTime)value;
}
if (PGFieldType == "double precision")
{
return (Double)value;
}
return CreateParameterValue(value);
}