Created
May 26, 2010 13:27
-
-
Save calavera/414469 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| alter table remote_service add remoteServiceType varchar(50) not null; | |
| update remote_service set remoteServiceType = 'VIRTUAL_FACTORY' where idRemoteServiceType = 1; | |
| update remote_service set remoteServiceType = 'STORAGE_SYSTEM_MONITOR' where idRemoteServiceType = 2; | |
| update remote_service set remoteServiceType = 'VIRTUAL_SYSTEM_MONITOR' where idRemoteServiceType = 3; | |
| update remote_service set remoteServiceType = 'NODE_COLLECTOR' where idRemoteServiceType = 4; | |
| update remote_service set remoteServiceType = 'DHCP_SERVICE' where idRemoteServiceType = 5; | |
| alter table remote_service drop foreign key idRemoteServiceType_FK1; | |
| alter table remote_service drop column idRemoteServiceType; | |
| drop table remote_service_type; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment