Skip to content

Commit

Permalink
提升版本为1.7.12
Browse files Browse the repository at this point in the history
  • Loading branch information
hhyo committed Jul 17, 2020
1 parent 275cb19 commit 5009397
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 24 deletions.
2 changes: 1 addition & 1 deletion archery/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
version = (1, 7, 11)
version = (1, 7, 12)
display_version = '.'.join(str(i) for i in version)
2 changes: 1 addition & 1 deletion src/charts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ replicaCount: 1

image:
repository: hhyo/archery
tag: 1.7.7
tag: 1.7.12
pullPolicy: IfNotPresent

nameOverride: ""
Expand Down
2 changes: 1 addition & 1 deletion src/docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ services:
- "./inception/config.toml:/etc/config.toml"

archery:
image: hhyo/archery:1.7.11
image: hhyo/archery:1.7.12
container_name: archery
restart: always
ports:
Expand Down
25 changes: 4 additions & 21 deletions src/init_sql/v1.7.11_v1.7.12.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
-- 增加ssh_tunnel配置表
CREATE TABLE `ssh_tunnel` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`tunnel_name` varchar(50) NOT NULL,
Expand All @@ -13,27 +14,9 @@ CREATE TABLE `ssh_tunnel` (
UNIQUE KEY `tunnel_name` (`tunnel_name`)
) ;

CREATE TABLE `sql_instance` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`instance_name` varchar(50) NOT NULL,
`type` varchar(6) NOT NULL,
`db_type` varchar(20) NOT NULL,
`host` varchar(200) NOT NULL,
`port` int(11) NOT NULL,
`user` varchar(200) NOT NULL,
`password` varchar(300) NOT NULL,
`db_name` varchar(64) NOT NULL,
`charset` varchar(20) NOT NULL,
`service_name` varchar(50) DEFAULT NULL,
`sid` varchar(50) DEFAULT NULL,
`create_time` datetime(6) NOT NULL,
`update_time` datetime(6) NOT NULL,
`tunnel_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `instance_name` (`instance_name`),
KEY `sql_instance_tunnel_id_99377638_fk_ssh_tunnel_id` (`tunnel_id`),
CONSTRAINT `sql_instance_tunnel_id_99377638_fk_ssh_tunnel_id` FOREIGN KEY (`tunnel_id`) REFERENCES `ssh_tunnel` (`id`)
) ;
alter table sql_instance add `tunnel_id` int(11) DEFAULT NULL,
add index `idx_ssh_tunnel_id` (`tunnel_id`),
add CONSTRAINT `sql_instance_tunnel_id_99377638_fk_ssh_tunnel_id` FOREIGN KEY (`tunnel_id`) REFERENCES `ssh_tunnel` (`id`);

-- 增加企业微信信息
alter table resource_group add qywx_webhook varchar(255) not null default '' comment '企业微信webhook地址';

0 comments on commit 5009397

Please sign in to comment.