-
Notifications
You must be signed in to change notification settings - Fork 800
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Domain V1 deprecation cleanup (#2639)
* Remove domain V1 schema * Fix cadence-system domain migration issue
- Loading branch information
Showing
6 changed files
with
50 additions
and
38 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
18 changes: 0 additions & 18 deletions
18
schema/cassandra/cadence/versioned/v0.12/system_domain_bootstrap.cql
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
29 changes: 29 additions & 0 deletions
29
schema/cassandra/cadence/versioned/v0.23/system_domain.cql
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,29 @@ | ||
INSERT INTO domains_by_name_v2 ( | ||
domains_partition, | ||
name, | ||
domain, | ||
config, | ||
is_global_domain, | ||
config_version, | ||
failover_version, | ||
failover_notification_version, | ||
notification_version | ||
) VALUES ( | ||
0, | ||
'cadence-system', | ||
{ | ||
id: 32049b68-7872-4094-8e63-d0dd59896a83, | ||
name: 'cadence-system', | ||
description: 'cadence system workflow domain', | ||
owner_email: 'cadence-dev-group@uber.com' | ||
}, | ||
{ | ||
retention:3, | ||
emit_metric:False | ||
}, | ||
False, | ||
0, | ||
-24, | ||
-1, | ||
-1 | ||
) IF NOT EXISTS; |
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