This repository has been archived by the owner on Jan 21, 2021. It is now read-only.
forked from SEL-Columbia/dristhi
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update mybatis artifacts server settings
- Loading branch information
1 parent
13c3fa2
commit 790d2e6
Showing
12 changed files
with
1,282 additions
and
880 deletions.
There are no files selected for viewing
This file contains 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
31 changes: 31 additions & 0 deletions
31
...20181012141507_add_settings_metadata_columns_team_id_team_location_id_and_provider_id.sql
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
-- | ||
-- Copyright 2010-2016 the original author or authors. | ||
-- | ||
-- Licensed under the Apache License, Version 2.0 (the "License"); | ||
-- you may not use this file except in compliance with the License. | ||
-- You may obtain a copy of the License at | ||
-- | ||
-- http://www.apache.org/licenses/LICENSE-2.0 | ||
-- | ||
-- Unless required by applicable law or agreed to in writing, software | ||
-- distributed under the License is distributed on an "AS IS" BASIS, | ||
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
-- See the License for the specific language governing permissions and | ||
-- limitations under the License. | ||
-- | ||
|
||
-- // add settings metadata columns team id team location_id and provider id | ||
-- Migration SQL that makes the change goes here. | ||
|
||
ALTER TABLE core.settings_metadata ADD COLUMN team VARCHAR; | ||
ALTER TABLE core.settings_metadata ADD COLUMN team_id VARCHAR; | ||
ALTER TABLE core.settings_metadata ADD COLUMN provider_id VARCHAR; | ||
ALTER TABLE core.settings_metadata ADD COLUMN location_id VARCHAR; | ||
|
||
-- //@UNDO | ||
-- SQL to undo the change goes here. | ||
|
||
ALTER TABLE core.settings_metadata DROP COLUMN team; | ||
ALTER TABLE core.settings_metadata DROP COLUMN team_id; | ||
ALTER TABLE core.settings_metadata DROP COLUMN provider_id; | ||
ALTER TABLE core.settings_metadata DROP COLUMN location_id; |
25 changes: 25 additions & 0 deletions
25
...ns/scripts/20181012145616_alter_settings_metadata_column_identifier_remove_constraint.sql
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
-- | ||
-- Copyright 2010-2016 the original author or authors. | ||
-- | ||
-- Licensed under the Apache License, Version 2.0 (the "License"); | ||
-- you may not use this file except in compliance with the License. | ||
-- You may obtain a copy of the License at | ||
-- | ||
-- http://www.apache.org/licenses/LICENSE-2.0 | ||
-- | ||
-- Unless required by applicable law or agreed to in writing, software | ||
-- distributed under the License is distributed on an "AS IS" BASIS, | ||
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
-- See the License for the specific language governing permissions and | ||
-- limitations under the License. | ||
-- | ||
|
||
-- // alter settings metadata column identifier remove constraint | ||
-- Migration SQL that makes the change goes here. | ||
|
||
ALTER TABLE core.settings_metadata DROP CONSTRAINT settings_metadata_identifier_key | ||
|
||
-- //@UNDO | ||
-- SQL to undo the change goes here. | ||
|
||
ALTER TABLE core.settings_metadata ADD CONSTRAINT settings_metadata_identifier_key UNIQUE (identifier); |
Oops, something went wrong.