-
Notifications
You must be signed in to change notification settings - Fork 9
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
68 changed files
with
1,194 additions
and
666 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
DO | ||
$$ | ||
BEGIN | ||
IF register_patch('0169_RenameClaimsInvites', 'Jekabs Karklins', 'Changing the naming to be more clear and consistant', '2025-01-27') THEN | ||
BEGIN | ||
ALTER TABLE co_proposer_invites RENAME TO co_proposer_claims; | ||
ALTER TABLE co_proposer_claims RENAME COLUMN invite_code_id TO invite_id; | ||
|
||
ALTER TABLE role_invites RENAME TO role_claims; | ||
ALTER TABLE role_claims RENAME COLUMN role_invite_id TO role_claim_id; | ||
ALTER TABLE role_claims RENAME COLUMN invite_code_id TO invite_id; | ||
|
||
ALTER TABLE invite_codes RENAME TO invites; | ||
ALTER TABLE invites RENAME COLUMN invite_code_id TO invite_id; | ||
END; | ||
END IF; | ||
END; | ||
$$ | ||
LANGUAGE plpgsql; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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.