sql增加

pull/52/head
Chengliang 3 years ago
parent 8e93568aa4
commit 94c1102c91

@ -580,12 +580,12 @@ create table JCL_ORG_CARDACCESS (
-- JCL_ORG_CARDBUTTON -- JCL_ORG_CARDBUTTON
create table 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, name varchar(255) not null,
status int null, status int null,
url varchar(255) null, url varchar(255) null,
role varchar(2000) null, roles varchar(2000) null,
defaults int not null, sys_default int not null,
creator int null, creator int null,
delete_type int null, delete_type int null,
create_time date null, create_time date null,

@ -532,4 +532,41 @@ create table JCL_ORG_DETACH (
create_time date null, create_time date null,
update_time date null, update_time date null,
constraint JCL_ORG_DETACH_PK primary key (id) 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