add patch sql for hbs
This commit is contained in:
parent
5d61468de6
commit
eddd77d2d9
|
@ -8,9 +8,9 @@ create table `instance` (
|
|||
`id` int unsigned not null auto_increment,
|
||||
`module` varchar(32) not null,
|
||||
`identity` varchar(255) not null,
|
||||
`rpc_port` varchar(16) not null,
|
||||
`http_port` varchar(16) not null,
|
||||
`region` varchar(32) not null,
|
||||
`rpc_port` varchar(16) not null default 0,
|
||||
`http_port` varchar(16) not null default 0,
|
||||
`region` varchar(32) not null default 'default',
|
||||
`remark` text,
|
||||
`ts` int unsigned not null,
|
||||
primary key (`id`),
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
set names utf8;
|
||||
use n9e_hbs;
|
||||
|
||||
alter table instance add `region` varchar(32) not null default 'default' after http_port;
|
Loading…
Reference in New Issue