Index: build/DatabaseStructure.sql
===================================================================
diff -u -r36d4b4090a4169cc8d25ede0029a3244df8fe74d -r899d227631395ebeb5154719f7b92a42ddbc6f96
--- build/DatabaseStructure.sql	(.../DatabaseStructure.sql)	(revision 36d4b4090a4169cc8d25ede0029a3244df8fe74d)
+++ build/DatabaseStructure.sql	(.../DatabaseStructure.sql)	(revision 899d227631395ebeb5154719f7b92a42ddbc6f96)
@@ -1,6 +1,6 @@
 /* ---------------------------------------------------- */
 /*  Generated by Enterprise Architect Version 12.0 		*/
-/*  Created On : 26-jan-2018 15:38:38 				*/
+/*  Created On : 29-jan-2018 11:07:03 				*/
 /*  DBMS       : SQLite 								*/
 /* ---------------------------------------------------- */
 
@@ -90,6 +90,9 @@
 DROP TABLE IF EXISTS 'PipingCalculationOutputEntity'
 ;
 
+DROP TABLE IF EXISTS 'PipingStructureFailureMechanismMetaEntity'
+;
+
 DROP TABLE IF EXISTS 'PipingSemiProbabilisticOutputEntity'
 ;
 
@@ -126,10 +129,10 @@
 DROP TABLE IF EXISTS 'MacroStabilityInwardsSectionResultEntity'
 ;
 
-DROP TABLE IF EXISTS 'MacroStabilityOutwardsSectionResultEntity'
+DROP TABLE IF EXISTS 'WaveImpactAsphaltCoverFailureMechanismMetaEntity'
 ;
 
-DROP TABLE IF EXISTS 'WaveImpactAsphaltCoverFailureMechanismMetaEntity'
+DROP TABLE IF EXISTS 'MacroStabilityOutwardsSectionResultEntity'
 ;
 
 DROP TABLE IF EXISTS 'WaveImpactAsphaltCoverSectionResultEntity'
@@ -737,6 +740,15 @@
 )
 ;
 
+CREATE TABLE 'PipingStructureFailureMechanismMetaEntity'
+(
+	'PipingStructureFailureMechanismMetaEntityId' INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
+	'FailureMechanismEntityId' INTEGER NOT NULL,
+	'N' REAL NOT NULL,
+	CONSTRAINT 'FK_PipingStructureFailureMechanismMetaEntity_FailureMechanismEntity' FOREIGN KEY ('FailureMechanismEntityId') REFERENCES 'FailureMechanismEntity' ('FailureMechanismEntityId') ON DELETE Cascade ON UPDATE Cascade
+)
+;
+
 CREATE TABLE 'PipingSemiProbabilisticOutputEntity'
 (
 	'PipingSemiProbabilisticOutputEntityId' INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
@@ -880,6 +892,15 @@
 )
 ;
 
+CREATE TABLE 'WaveImpactAsphaltCoverFailureMechanismMetaEntity'
+(
+	'WaveImpactAsphaltCoverFailureMechanismMetaEntityId' INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
+	'FailureMechanismEntityId' INTEGER NOT NULL,
+	'ForeshoreProfileCollectionSourcePath' TEXT,
+	CONSTRAINT 'FK_WaveImpactAsphaltCoverFailureMechanismMetaEntity_FailureMechanismEntity' FOREIGN KEY ('FailureMechanismEntityId') REFERENCES 'FailureMechanismEntity' ('FailureMechanismEntityId') ON DELETE Cascade ON UPDATE Cascade
+)
+;
+
 CREATE TABLE 'MacroStabilityOutwardsSectionResultEntity'
 (
 	'MacroStabilityOutwardsSectionResultEntityId' INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
@@ -891,15 +912,6 @@
 )
 ;
 
-CREATE TABLE 'WaveImpactAsphaltCoverFailureMechanismMetaEntity'
-(
-	'WaveImpactAsphaltCoverFailureMechanismMetaEntityId' INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
-	'FailureMechanismEntityId' INTEGER NOT NULL,
-	'ForeshoreProfileCollectionSourcePath' TEXT,
-	CONSTRAINT 'FK_WaveImpactAsphaltCoverFailureMechanismMetaEntity_FailureMechanismEntity' FOREIGN KEY ('FailureMechanismEntityId') REFERENCES 'FailureMechanismEntity' ('FailureMechanismEntityId') ON DELETE Cascade ON UPDATE Cascade
-)
-;
-
 CREATE TABLE 'WaveImpactAsphaltCoverSectionResultEntity'
 (
 	'WaveImpactAsphaltCoverSectionResultEntityId' INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
@@ -2106,6 +2118,10 @@
  ON 'PipingCalculationOutputEntity' ('PipingCalculationEntityId' ASC)
 ;
 
+CREATE INDEX 'IXFK_PipingStructureFailureMechanismMetaEntity_FailureMechanismEntity'
+ ON 'PipingStructureFailureMechanismMetaEntity' ('FailureMechanismEntityId' ASC)
+;
+
 CREATE INDEX 'IXFK_PipingSemiProbabilisticOutputEntity_PipingCalculationEntity'
  ON 'PipingSemiProbabilisticOutputEntity' ('PipingCalculationEntityId' ASC)
 ;
@@ -2166,14 +2182,14 @@
  ON 'MacroStabilityInwardsSectionResultEntity' ('FailureMechanismSectionEntityId' ASC)
 ;
 
-CREATE INDEX 'IXFK_MacroStabilityOutwardsSectionResultEntity_FailureMechanismSectionEntity'
- ON 'MacroStabilityOutwardsSectionResultEntity' ('FailureMechanismSectionEntityId' ASC)
-;
-
 CREATE INDEX 'IXFK_WaveImpactAsphaltCoverFailureMechanismMetaEntity_FailureMechanismEntity'
  ON 'WaveImpactAsphaltCoverFailureMechanismMetaEntity' ('FailureMechanismEntityId' ASC)
 ;
 
+CREATE INDEX 'IXFK_MacroStabilityOutwardsSectionResultEntity_FailureMechanismSectionEntity'
+ ON 'MacroStabilityOutwardsSectionResultEntity' ('FailureMechanismSectionEntityId' ASC)
+;
+
 CREATE INDEX 'IXFK_WaveImpactAsphaltCoverSectionResultEntity_FailureMechanismSectionEntity'
  ON 'WaveImpactAsphaltCoverSectionResultEntity' ('FailureMechanismSectionEntityId' ASC)
 ;
