개정판 2e268702
issue #1043 : 시스템분석/설계 : Template.db 수정 \
- Geometry_Input 테이블 추가
Change-Id: Iedfa85287d3fc80000f5ebe0c9e674d3b1f93e32
HYTOS/HYTOS/Scripts/CreateTables.sql | ||
---|---|---|
289 | 289 |
Fittings_UID |
290 | 290 |
) |
291 | 291 |
); |
292 |
|
|
293 |
CREATE TABLE IF NOT EXISTS Geometry_Input ( |
|
294 |
UID TEXT NOT NULL, |
|
295 |
Components_UID TEXT NOT NULL, |
|
296 |
Element TEXT NOT NULL, |
|
297 |
Nominal_Pipe_Size REAL, |
|
298 |
Schedule_No REAL, |
|
299 |
Inside_Pipe_Size REAL, |
|
300 |
Roughness REAL, |
|
301 |
Length REAL, |
|
302 |
Angle REAL, |
|
303 |
RPD REAL, |
|
304 |
D1_D2 REAL, |
|
305 |
K REAL, |
|
306 |
CONSTRAINT PK_Geometry_Input PRIMARY KEY ( |
|
307 |
UID |
|
308 |
), |
|
309 |
CONSTRAINT FK_Components_UID FOREIGN KEY ( |
|
310 |
Components_UID |
|
311 |
) |
|
312 |
REFERENCES Components (UID) ON DELETE CASCADE |
|
313 |
); |
내보내기 Unified diff