Skip to content

Commit

Permalink
#64 add feature: add copy_to and multi_fields feature when create ind…
Browse files Browse the repository at this point in the history
…ex version [vip:platform/pallas#879]
  • Loading branch information
NathanChan committed Jun 11, 2019
1 parent 223fa42 commit 1e08881
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pallas-core/src/main/resources/db/ddl/h2/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,8 @@ CREATE TABLE IF NOT EXISTS `mapping` (
`update_time` timestamp NOT NULL DEFAULT '1980-01-01 01:01:01' COMMENT '更新时间',
`is_deleted` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否删除',
`dynamic` tinyint(1) NOT NULL DEFAULT '0' COMMENT '配置dynamic属性是否为true',
`parent_type` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'parent_id类型,1为nested,2为object,3为multi-fields',
`copy_to` varchar(256) COLLATE utf8_bin DEFAULT NULL COMMENT '复制域数组',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ;

Expand Down
2 changes: 2 additions & 0 deletions pallas-core/src/main/resources/db/ddl/mysql/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,8 @@ CREATE TABLE IF NOT EXISTS `mapping` (
`update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
`is_deleted` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否删除',
`dynamic` tinyint(1) NOT NULL DEFAULT '0' COMMENT '配置dynamic属性是否为true',
`parent_type` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'parent_id类型,1为nested,2为object,3为multi-fields',
`copy_to` varchar(256) COLLATE utf8_bin DEFAULT NULL COMMENT '复制域数组',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;

Expand Down

0 comments on commit 1e08881

Please sign in to comment.