Skip to content

Commit

Permalink
alias a column
Browse files Browse the repository at this point in the history
  • Loading branch information
shlomi-noach committed Jun 16, 2020
1 parent ce8ce72 commit 90b4c50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/inst/cluster_alias_dao.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func UpdateClusterAliases() error {
replace into
cluster_alias (alias, cluster_name, last_registered)
select
cluster_name, cluster_name, now()
cluster_name as alias, cluster_name, now()
from
database_instance
group by
Expand Down

0 comments on commit 90b4c50

Please sign in to comment.