-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
751 additions
and
285 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
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
39 changes: 39 additions & 0 deletions
39
...rces/org/broadinstitute/dsde/sam/liquibase/changesets/20200901_descendant_permissions.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,39 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<databaseChangeLog logicalFilePath="dummy" | ||
xmlns="http://www.liquibase.org/xml/ns/dbchangelog" | ||
xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.4.xsd"> | ||
|
||
<changeSet logicalFilePath="dummy" author="mtalbott" id="drop_policy_action_PK"> | ||
<dropPrimaryKey tableName="sam_policy_action" constraintName="sam_policy_action_pkey"/> | ||
</changeSet> | ||
|
||
<changeSet logicalFilePath="dummy" author="mtalbott" id="descendant_policy_actions"> | ||
<addColumn tableName="sam_policy_action"> | ||
<column name="descends" type="BOOLEAN" defaultValue="false"> | ||
<constraints nullable="false"/> | ||
</column> | ||
</addColumn> | ||
</changeSet> | ||
|
||
<changeSet logicalFilePath="dummy" author="mtalbott" id="re-add_policy_action_PK"> | ||
<addPrimaryKey tableName="sam_policy_action" columnNames="resource_policy_id, resource_action_id, descends" constraintName="sam_policy_action_pkey"/> | ||
</changeSet> | ||
|
||
<changeSet logicalFilePath="dummy" author="mtalbott" id="drop_policy_role_PK"> | ||
<dropPrimaryKey tableName="sam_policy_role" constraintName="sam_policy_role_pkey"/> | ||
</changeSet> | ||
|
||
<changeSet logicalFilePath="dummy" author="mtalbott" id="descendant_policy_roles"> | ||
<addColumn tableName="sam_policy_role"> | ||
<column name="descends" type="BOOLEAN" defaultValue="false"> | ||
<constraints nullable="false"/> | ||
</column> | ||
</addColumn> | ||
</changeSet> | ||
|
||
<changeSet logicalFilePath="dummy" author="mtalbott" id="re-add_policy_role_PK"> | ||
<addPrimaryKey tableName="sam_policy_role" columnNames="resource_policy_id, resource_role_id, descends" constraintName="sam_policy_role_pkey"/> | ||
</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
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
Oops, something went wrong.