更改单据编号表的表名

This commit is contained in:
季圣华
2019-11-28 14:35:10 +08:00
parent 2dcd890150
commit 6fa21556fd
4 changed files with 15 additions and 9 deletions

View File

@@ -1762,10 +1762,10 @@ INSERT INTO `jsh_userbusiness` VALUES ('65', 'UserRole', '129', '[10]', null, '0
INSERT INTO `jsh_userbusiness` VALUES ('66', 'UserRole', '130', '[10]', null, '0');
-- ----------------------------
-- Table structure for tbl_sequence
-- Table structure for jsh_sequence
-- ----------------------------
DROP TABLE IF EXISTS `tbl_sequence`;
CREATE TABLE `tbl_sequence` (
DROP TABLE IF EXISTS `jsh_sequence`;
CREATE TABLE `jsh_sequence` (
`seq_name` varchar(50) NOT NULL COMMENT '序列名称',
`min_value` bigint(20) NOT NULL COMMENT '最小值',
`max_value` bigint(20) NOT NULL COMMENT '最大值',
@@ -1776,9 +1776,9 @@ CREATE TABLE `tbl_sequence` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='sequence表';
-- ----------------------------
-- Records of tbl_sequence
-- Records of jsh_sequence
-- ----------------------------
INSERT INTO `tbl_sequence` VALUES ('depot_number_seq', '1', '999999999999999999', '304', '1', '单据编号sequence');
INSERT INTO `jsh_sequence` VALUES ('depot_number_seq', '1', '999999999999999999', '304', '1', '单据编号sequence');
-- ----------------------------
-- Table structure for jsh_tenant

View File

@@ -669,4 +669,10 @@ ROW_FORMAT=COMPACT
-- ----------------------------
drop table databasechangelog;
drop table databasechangeloglock;
drop table jsh_app;
drop table jsh_app;
-- ----------------------------
-- 时间2019年11月28日
-- 单据编号表-改表名
-- ----------------------------
ALTER TABLE tbl_sequence RENAME TO jsh_sequence;