-
Notifications
You must be signed in to change notification settings - Fork 809
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
Wenquan Xing
committed
Jan 25, 2018
1 parent
80512ec
commit a1fce54
Showing
2 changed files
with
8 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
CREATE TYPE domain_config ( | ||
retention int, | ||
emit_metric boolean | ||
); | ||
|
||
CREATE TYPE cluster_replication_config ( | ||
cluster_name text, | ||
); | ||
|
||
CREATE TYPE domain_replication_config ( | ||
active_cluster_name text, | ||
failover_version bigint, | ||
clusters list<frozen<cluster_replication_config>> | ||
); | ||
|
||
ALTER TABLE domains_by_name ADD replication_config frozen<domain_replication_config>; | ||
ALTER TABLE domains_by_name ADD version bigint; |
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