-
Notifications
You must be signed in to change notification settings - Fork 209
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #878 from kaleido-io/definitions2
Enable non-multiparty namespaces
- Loading branch information
Showing
128 changed files
with
2,729 additions
and
1,671 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 @@ | ||
-- No down migration (can't add back NOT NULL constraint) |
16 changes: 16 additions & 0 deletions
16
db/migrations/postgres/000094_allow_local_definitions.up.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,16 @@ | ||
BEGIN; | ||
ALTER TABLE identities RENAME COLUMN messages_claim TO messages_claim_old; | ||
ALTER TABLE identities ADD COLUMN messages_claim UUID; | ||
UPDATE identities SET messages_claim = messages_claim_old; | ||
ALTER TABLE identities DROP COLUMN messages_claim_old; | ||
|
||
ALTER TABLE ffi RENAME COLUMN message_id TO message_id_old; | ||
ALTER TABLE ffi ADD COLUMN message_id UUID; | ||
UPDATE ffi SET message_id = message_id_old; | ||
ALTER TABLE ffi DROP COLUMN message_id_old; | ||
|
||
ALTER TABLE contractapis RENAME COLUMN message_id TO message_id_old; | ||
ALTER TABLE contractapis ADD COLUMN message_id UUID; | ||
UPDATE contractapis SET message_id = message_id_old; | ||
ALTER TABLE contractapis DROP COLUMN message_id_old; | ||
COMMIT; |
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 @@ | ||
-- No down migration (can't add back NOT NULL constraint) |
14 changes: 14 additions & 0 deletions
14
db/migrations/sqlite/000094_allow_local_definitions.up.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,14 @@ | ||
ALTER TABLE identities RENAME COLUMN messages_claim TO messages_claim_old; | ||
ALTER TABLE identities ADD COLUMN messages_claim UUID; | ||
UPDATE identities SET messages_claim = messages_claim_old; | ||
ALTER TABLE identities DROP COLUMN messages_claim_old; | ||
|
||
ALTER TABLE ffi RENAME COLUMN message_id TO message_id_old; | ||
ALTER TABLE ffi ADD COLUMN message_id UUID; | ||
UPDATE ffi SET message_id = message_id_old; | ||
ALTER TABLE ffi DROP COLUMN message_id_old; | ||
|
||
ALTER TABLE contractapis RENAME COLUMN message_id TO message_id_old; | ||
ALTER TABLE contractapis ADD COLUMN message_id UUID; | ||
UPDATE contractapis SET message_id = message_id_old; | ||
ALTER TABLE contractapis DROP COLUMN message_id_old; |
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
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
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.