Skip to content

Commit

Permalink
fix(db): update cluster table with coordinator_host column
Browse files Browse the repository at this point in the history
  • Loading branch information
karol-kokoszka committed Feb 22, 2024
1 parent b136689 commit e46ee90
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions pkg/schema/table/table.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/service/cluster/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
type Cluster struct {
ID uuid.UUID `json:"id"`
Name string `json:"name"`
Host string `json:"host" db:"-"`
Host string `json:"host"`
KnownHosts []string `json:"-"`
Port int `json:"port,omitempty"`
AuthToken string `json:"auth_token"`
Expand Down
3 changes: 2 additions & 1 deletion schema/v3.2.6.cql
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
ALTER TABLE cluster ADD force_tls_disabled BOOLEAN;
ALTER TABLE cluster ADD force_non_ssl_session_port BOOLEAN;
ALTER TABLE cluster ADD force_non_ssl_session_port BOOLEAN;
ALTER TABLE cluster ADD host text;

0 comments on commit e46ee90

Please sign in to comment.