Commit 03b37c4cc2705dc6055b6dc6f0799d42d33a0ce6

Authored by 房远帅
1 parent 4d99c46d

楚江ERP:基础sql

1 -alter table base_data_customer modify column mnemonic_code varchar(20) null; 1 +alter table base_data_customer modify column mnemonic_code varchar(100) null;
  2 +
  3 +ALTER TABLE base_data_customer
  4 + MODIFY COLUMN `code` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '编号',
  5 + MODIFY COLUMN `name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '名称',
2 6
3 -- 厂房信息 7 -- 厂房信息
4 create table if not exists base_data_workshop ( 8 create table if not exists base_data_workshop (
@@ -945,4 +949,4 @@ create table if not exists customer_visit_record( @@ -945,4 +949,4 @@ create table if not exists customer_visit_record(
945 update_by_id varchar(32) not null comment '更新人ID', 949 update_by_id varchar(32) not null comment '更新人ID',
946 create_time datetime default now() comment '创建时间', 950 create_time datetime default now() comment '创建时间',
947 update_time datetime default now() comment '更新时间' 951 update_time datetime default now() comment '更新时间'
948 -);  
  952 +);