mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
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:
committed by
Oren Hurvitz
parent
e979a7e7f0
commit
1de8c3570d
@@ -143,4 +143,13 @@ ALTER TABLE usersettings ALTER COLUMN visible SET DATA TYPE boolean USING CASE W
|
||||
ALTER TABLE usersettings ADD COLUMN email varchar(254) NOT NULL;
|
||||
ALTER TABLE usersettings ADD PRIMARY KEY (useruuid);
|
||||
|
||||
COMMIT;
|
||||
|
||||
|
||||
:VERSION 5 # -------------------------------
|
||||
|
||||
BEGIN;
|
||||
|
||||
ALTER TABLE usersettings ALTER COLUMN imviaemail SET DATA TYPE boolean USING CASE WHEN false THEN false ELSE true END;
|
||||
|
||||
COMMIT;
|
||||
Reference in New Issue
Block a user