From 5cdce10df61115cb8aca338ea2247b4f51b43f47 Mon Sep 17 00:00:00 2001 From: hodong13 Date: Thu, 22 Oct 2020 04:08:09 +0000 Subject: [PATCH] --- Dao/DB/DB1.Scheme.txt | 1 + Dao/DB/DB1.SchemeFK.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/Dao/DB/DB1.Scheme.txt b/Dao/DB/DB1.Scheme.txt index 016a457..57929d8 100644 --- a/Dao/DB/DB1.Scheme.txt +++ b/Dao/DB/DB1.Scheme.txt @@ -978,6 +978,7 @@ create table lect ( ,ispcs tinyint ,ispce tinyint ,fgno2 bigint + ,cmisno bigint null ,cdt datetime not null,cno bigint not NULL,udt datetime not null,uno bigint not NULL,uip varchar(50) not NULL ,primary key(lectno)); diff --git a/Dao/DB/DB1.SchemeFK.txt b/Dao/DB/DB1.SchemeFK.txt index 2baf6f6..fb3abbc 100644 --- a/Dao/DB/DB1.SchemeFK.txt +++ b/Dao/DB/DB1.SchemeFK.txt @@ -130,6 +130,7 @@ alter table lect add constraint foreign key fklectcm2 (orgcmno) references cm(cm alter table lect add constraint foreign key fklectcm3 (pcno) references cm(cmno); alter table lect add constraint foreign key fklectfg (fgno) references filegroup(fgno); alter table lect add constraint foreign key fklectfg2 (fgno2) references filegroup(fgno); +alter table lect add constraint foreign key fklectcminningscd (cmisno) references cminningscd(cmisno); alter table lectinning add constraint foreign key kflectinninglect (lectno) references lect(lectno); alter table lectinning add constraint foreign key kflectinningcmi (cmino) references cminning(cmino); alter table lectinningpage add constraint foreign key kflectinningpagelect (lectno) references lect(lectno);