Merge pull request 'sql增加' (#52) from feature/cl into develop

Reviewed-on: #52
pull/55/head
liang.cheng 2 years ago
commit 003dd59cea

@ -580,12 +580,12 @@ create table JCL_ORG_CARDACCESS (
-- JCL_ORG_CARDBUTTON
create table JCL_ORG_CARDBUTTON (
id BIGINT auto_increment not null,
id int auto_increment not null,
name varchar(255) not null,
status int null,
url varchar(255) null,
role varchar(2000) null,
defaults int not null,
roles varchar(2000) null,
sys_default int not null,
creator int null,
delete_type int null,
create_time date null,

@ -533,3 +533,40 @@ create table JCL_ORG_DETACH (
update_time date null,
constraint JCL_ORG_DETACH_PK primary key (id)
);
-- DROP TABLE JCL_ORG_CARDACCESS;
CREATE TABLE JCL_ORG_CARDACCESS (
id int IDENTITY(1,1) NOT NULL,
type_id int NOT NULL,
type_name varchar(50) NOT NULL,
status int NULL,
all_people int NULL,
superior int NULL,
all_superior int NULL,
custom varchar(2000) NULL,
delete_type int NULL,
creator int NULL,
create_time date NULL,
update_time date NULL,
CONSTRAINT JCL_ORG_CARDACCESS_PK PRIMARY KEY (id)
);
-- DROP TABLE JCL_ORG_CARDBUTTON;
CREATE TABLE JCL_ORG_CARDBUTTON (
id int IDENTITY(1,1) NOT NULL,
name varchar(255) NOT NULL,
status int NULL,
url varchar(255) NULL,
roles varchar(2000) NULL,
sys_default int NOT NULL,
creator int NULL,
delete_type int NULL,
create_time date NULL,
update_time date NULL,
CONSTRAINT JCL_ORG_CARDBUTTON_PK PRIMARY KEY (id)
);
Loading…
Cancel
Save