     IF NOT EXISTS(
               SELECT NULL
                 FROM INFORMATION_SCHEMA.COLUMNS
-              WHERE table_name = 'openshift'
-                AND table_schema = 'infrastructure'
-                AND column_name = 'ssh_host'
-            )  THEN
+               WHERE table_name = 'openshift'
+                 AND table_schema = 'infrastructure'
+                 AND column_name = 'ssh_host'
+             )  THEN
       ALTER TABLE `openshift` ADD `ssh_host` varchar(300);
       ALTER TABLE `openshift` ADD `ssh_port` varchar(50);
 

    IF NOT EXISTS(
              SELECT NULL
                FROM INFORMATION_SCHEMA.COLUMNS
              WHERE table_name = 'environment'
                AND table_schema = 'infrastructure'
                AND column_name = 'deploy_type'
            )  THEN
      ALTER TABLE `environment` CHANGE `git_type` `deploy_type` ENUM('branch','pullrequest');

    END IF;

    IF NOT EXISTS(
              SELECT NULL
                FROM INFORMATION_SCHEMA.COLUMNS
               WHERE table_name = 'project'
                 AND table_schema = 'infrastructure'
                 AND column_name = 'storage_calc'
             )  THEN
      ALTER TABLE `project` ADD `storage_calc` int(1) NOT NULL default '1';

    END IF;
