Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EN-12742 Add capability to disable a secondary instance from reading …
…a dataset update dataset_internal_name_map set disabled to now()
- Loading branch information
Showing
3 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
common-pg/src/main/resources/com/socrata/pg/store/schema/20161231-add-disabled.xml
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,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog | ||
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-2.0.xsd"> | ||
<changeSet author="chi" id="20161231-add-disabled"> | ||
<preConditions onFail="MARK_RAN"> | ||
<not><columnExists tableName="dataset_internal_name_map" columnName="disabled"/></not> | ||
</preConditions> | ||
<addColumn tableName="dataset_internal_name_map"> | ||
<column name="disabled" type="timestamp with timezone"/> | ||
</addColumn> | ||
</changeSet> | ||
</databaseChangeLog> |
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
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