リビジョン 338
工事情報:営業副担当追加
部署マスタ:使用終了日付追加
工事詳細台帳データ・明細データ:インデックス追加
ProcessManagement.sql | ||
---|---|---|
1 | 1 |
-- Project Name : noname |
2 |
-- Date/Time : 2018/03/28 9:13:42
|
|
2 |
-- Date/Time : 2018/04/06 11:54:53
|
|
3 | 3 |
-- Author : Horiuchi |
4 | 4 |
-- RDBMS Type : MySQL |
5 | 5 |
-- Application : A5:SQL Mk-2 |
... | ... | |
486 | 486 |
, OrdersDecisionPriceInTax decimal(12,0) not null comment '??????????z' |
487 | 487 |
, SalesDepCode decimal(5,0) unsigned not null comment '?c??S????????R?[?h' |
488 | 488 |
, SalesPersonCode decimal(8,0) unsigned not null comment '?c??S????R?[?h' |
489 |
, SalesSubDepCode decimal(5,0) unsigned not null comment '?c????S????????R?[?h' |
|
490 |
, SalesSubPersonCode decimal(8,0) unsigned not null comment '?c????S????R?[?h' |
|
489 | 491 |
, ConstrDepCode decimal(5,0) unsigned not null comment '?H???S????????R?[?h' |
490 | 492 |
, ConstructionPersonCode decimal(8,0) not null comment '?H???S????R?[?h' |
491 | 493 |
, ConstrSubDepCode decimal(5,0) unsigned not null comment '?H?????S????????R?[?h' |
... | ... | |
659 | 661 |
, constraint constructionledger_PKC primary key (ConstructionCode) |
660 | 662 |
) comment '?H???????f?[?^' ; |
661 | 663 |
|
664 |
create index constructionledger_Index1 |
|
665 |
on constructionledger(ConstructionStart); |
|
666 |
|
|
667 |
create index constructionledger_Index2 |
|
668 |
on constructionledger(ConstructionEnd); |
|
669 |
|
|
662 | 670 |
-- ?H??????????f?[?^ |
663 | 671 |
drop table if exists constructionledgerdetail cascade; |
664 | 672 |
|
... | ... | |
708 | 716 |
create index LedgerDetail_Index05 |
709 | 717 |
on constructionledgerdetail(DetailCount); |
710 | 718 |
|
719 |
create index LedgerDetail_Index06 |
|
720 |
on constructionledgerdetail(SalaryFlg); |
|
721 |
|
|
722 |
create index LedgerDetail_Index07 |
|
723 |
on constructionledgerdetail(CompanyCode); |
|
724 |
|
|
711 | 725 |
-- ?H?????????s?f?[?^ |
712 | 726 |
drop table if exists constructionledgerexcute cascade; |
713 | 727 |
|
... | ... | |
1031 | 1045 |
|
1032 | 1046 |
create table daymaster ( |
1033 | 1047 |
days smallint(6) not null comment '??' |
1048 |
, constraint daymaster_PKC primary key (days) |
|
1034 | 1049 |
) comment '???}?X?^' ; |
1035 | 1050 |
|
1036 |
create index day_Index1 |
|
1037 |
on daymaster(days); |
|
1038 |
|
|
1039 | 1051 |
-- ?????}?X?^ |
1040 | 1052 |
drop table if exists deadlinemaster cascade; |
1041 | 1053 |
|
... | ... | |
1074 | 1086 |
, DepartmentString varchar(100) not null comment '??????' |
1075 | 1087 |
, ActionScheduleFlg decimal(1,0) not null comment '?s???\??\???t???O' |
1076 | 1088 |
, StaffAssignFlg decimal(1,0) not null comment '?l???z?u?\???t???O' |
1089 |
, StartDate datetime not null comment '?J?n???t' |
|
1090 |
, CompDate datetime not null comment '?I?????t' |
|
1077 | 1091 |
, DeleteFlg decimal(1,0) not null comment '???t???O' |
1078 | 1092 |
, EntryDate datetime not null comment '?o?^???t' |
1079 | 1093 |
, UpdateDate datetime not null comment '?X?V???t' |
... | ... | |
1472 | 1486 |
|
1473 | 1487 |
create table monthmaster ( |
1474 | 1488 |
month smallint(6) not null comment '??' |
1489 |
, constraint monthmaster_PKC primary key (month) |
|
1475 | 1490 |
) comment '???}?X?^' ; |
1476 | 1491 |
|
1477 |
create index month_Index1 |
|
1478 |
on monthmaster(month); |
|
1479 |
|
|
1480 | 1492 |
-- ??????}?X?^ |
1481 | 1493 |
drop table if exists orderersmaster cascade; |
1482 | 1494 |
|
... | ... | |
2448 | 2460 |
|
2449 | 2461 |
create table yearmaster ( |
2450 | 2462 |
years smallint(6) not null comment '?N' |
2463 |
, constraint yearmaster_PKC primary key (years) |
|
2451 | 2464 |
) comment '?N?}?X?^' ; |
2452 |
|
|
2453 |
create index year_Index1 |
|
2454 |
on yearmaster(years); |
他の形式にエクスポート: Unified diff