Skip to content

Commit

Permalink
Add a database upgrade script that supports ipv6
Browse files Browse the repository at this point in the history
  • Loading branch information
yuansx committed Dec 26, 2018
1 parent e873447 commit 6a027c3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sql/upgrade2IPv6.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
mysql -uroot -proot@appinside db_tars -e "alter table t_config_files modify column host varchar(50) not null default '';"
mysql -uroot -proot@appinside db_tars -e "alter table t_node_info modify column endpoint_ip varchar(50) default '';"
mysql -uroot -proot@appinside db_tars -e "alter table t_task_item modify column node_name varchar(50) default null;"

0 comments on commit 6a027c3

Please sign in to comment.