Skip to content

Commit e2bc8d1

Browse files
committed
Added migration used to update the table name (tblIMISDefaultsPhone)
1 parent d998543 commit e2bc8d1

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

Migration script/openIMIS migration v1.2.0 - v1.3.0.sql

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -911,3 +911,11 @@ INSERT INTO tblRoleRight (RoleID,RightID,ValidityFrom)
911911
VALUES (@ID,131304,GETDATE()) --EmailSettings
912912
GO
913913
--END HF Administrator--
914+
915+
-- fixes the table name misspell
916+
IF (EXISTS (SELECT *
917+
FROM INFORMATION_SCHEMA.TABLES
918+
WHERE TABLE_NAME = 'tblIMISDetaulsPhone'))
919+
BEGIN
920+
EXEC sp_rename 'tblIMISDetaulsPhone', 'tblIMISDefaultsPhone'
921+
END

0 commit comments

Comments
 (0)