Skip to content

Commit

Permalink
add versioned cql to manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
Wenquan Xing committed Jan 25, 2018
1 parent 80512ec commit a1fce54
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
11 changes: 6 additions & 5 deletions schema/cadence/versioned/v0.4/add_replication_config.cql
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;
3 changes: 2 additions & 1 deletion schema/cadence/versioned/v0.4/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"Description": "add signal_decision to mutable state, add kind to taskList",
"SchemaUpdateCqlFiles": [
"add_signal_decision.cql",
"add_tasklist_kind.cql"
"add_tasklist_kind.cql",
"add_replication_config.cql"
]
}

0 comments on commit a1fce54

Please sign in to comment.