프로젝트

일반

사용자정보

개정판 edc395e4

IDedc395e48314d7d596aa6aa39bf8df2fde9fa6fa
상위 3c797715
하위 e69a3fd8

김연진이(가) 약 5년 전에 추가함

issue #1043 : 시스템분석/설계 : Template.db 수정
1. Fittings_Input 테이블 추가

Change-Id: I61455a4c34dd620612ab1dcf6d58877ee7b65568

차이점 보기:

HYTOS/HYTOS/Scripts/CreateTables.sql
252 252
        Name
253 253
    )
254 254
);
255

  
256
CREATE TABLE IF NOT EXISTS Fittings_Input (
257
	UID                      TEXT    NOT NULL,
258
    Components_UID           TEXT    NOT NULL,
259
    Fittings_UID             TEXT    NOT NULL,
260
    Method                   TEXT    NOT NULL,
261
    Sub_Size                 REAL,
262
    Angle                    REAL,
263
    Count                    INTEGER,
264
    CONSTRAINT PK_Fittings_Input PRIMARY KEY (
265
        UID
266
    ),
267
    CONSTRAINT FK_Components_UID FOREIGN KEY (
268
        Components_UID
269
    )
270
    REFERENCES Components (UID) ON DELETE CASCADE,
271
	CONSTRAINT FK_Fittings_UID FOREIGN KEY (
272
        Fittings_UID
273
    )
274
    REFERENCES Fittings (UID) ON DELETE RESTRICT,
275
    CONSTRAINT UQ_Fittings_Input UNIQUE (
276
        Components_UID,
277
        Fittings_UID
278
    )
279
);

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)