リビジョン 322
工事基本情報:検査日予定日・検査実行日・検査是正完了日追加
工事基本情報明細:データ300文字に増やす
支払明細データ:インデックス追加
ProcessManagement.sql | ||
---|---|---|
1 | 1 |
-- Project Name : noname |
2 |
-- Date/Time : 2017/12/12 10:48:17
|
|
2 |
-- Date/Time : 2018/02/27 8:14:07
|
|
3 | 3 |
-- Author : Horiuchi |
4 | 4 |
-- RDBMS Type : MySQL |
5 | 5 |
-- Application : A5:SQL Mk-2 |
... | ... | |
470 | 470 |
, BillingSplitFlg decimal(1,0) not null comment '??????t???O' |
471 | 471 |
, BillingSendDate date comment '???????X??/??n????' |
472 | 472 |
, LedgerComplateDate date not null comment '?H????????????????t' |
473 |
, InspectPlanningDate date not null comment '?????\???' |
|
474 |
, InspectExecuteDate date not null comment '???????s??' |
|
475 |
, RevCompleteDate date not null comment '??????????????' |
|
473 | 476 |
, EntryDate datetime not null comment '?o?^???t' |
474 | 477 |
, UpdateDate datetime not null comment '?X?V???t' |
475 | 478 |
, constraint constructionbaseinfo_PKC primary key (ConstructionCode) |
... | ... | |
499 | 502 |
create table constructionbaseinfodetail ( |
500 | 503 |
ConstructionCode decimal(10,0) unsigned not null comment '?H???R?[?h' |
501 | 504 |
, DetailNo decimal(2,0) not null comment '??????' |
502 |
, DetailString varchar(120) comment '??????e'
|
|
505 |
, DetailString varchar(300) comment '??????e'
|
|
503 | 506 |
, EntryDate datetime not null comment '?o?^???t' |
504 | 507 |
, UpdateDate datetime not null comment '?X?V???t' |
505 | 508 |
, constraint constructionbaseinfodetail_PKC primary key (ConstructionCode,DetailNo) |
... | ... | |
1509 | 1512 |
, constraint paymentdatadetail_PKC primary key (COMPANYCODE,TARGETDATE,SEQNO,LINECOUNT) |
1510 | 1513 |
) comment '?x??????f?[?^' ; |
1511 | 1514 |
|
1515 |
create index PayDataDetail_Index1 |
|
1516 |
on paymentdatadetail(TARGETDATE); |
|
1517 |
|
|
1518 |
create index PayDataDetail_Index2 |
|
1519 |
on paymentdatadetail(APPROVALPERSONCODE); |
|
1520 |
|
|
1512 | 1521 |
-- ?H??????????f?[?^ |
1513 | 1522 |
drop table if exists periodavoidance cascade; |
1514 | 1523 |
|
他の形式にエクスポート: Unified diff