@@ -463,7 +463,7 @@ class DataLoggerFiles(Base):
463
463
464
464
465
465
class EquipmentModels (Base ):
466
- ModelID = Column ('modelid ' , Integer , primary_key = True , nullable = False )
466
+ ModelID = Column ('equipmentmodelid ' , Integer , primary_key = True , nullable = False )
467
467
ModelManufacturerID = Column ('modelmanufacturerid' , Integer ,
468
468
ForeignKey (Organizations .OrganizationID ), nullable = False )
469
469
ModelPartNumber = Column ('modelpartnumber' , String (50 ))
@@ -537,14 +537,15 @@ class Equipment(Base):
537
537
EquipmentCode = Column ('equipmentcode' , String (50 ), nullable = False )
538
538
EquipmentName = Column ('equipmentname' , String (255 ), nullable = False )
539
539
EquipmentTypeCV = Column ('equipmenttypecv' , ForeignKey (CVEquipmentType .Name ), nullable = False , index = True )
540
- ModelID = Column ('modelid ' , ForeignKey (EquipmentModels .ModelID ), nullable = False )
541
- EquipmentSerialNumber = Column ('equipmentseriealnumber ' , String (50 ), nullable = False )
540
+ ModelID = Column ('equipmentmodelid ' , ForeignKey (EquipmentModels .ModelID ), nullable = False )
541
+ EquipmentSerialNumber = Column ('equipmentserialnumber ' , String (50 ), nullable = False )
542
542
EquipmentInventoryNumber = Column ('equipmentinventorynumber' , String (50 ))
543
543
EquipmentOwnerID = Column ('equipmentownerid' , ForeignKey (People .PersonID ), nullable = False )
544
544
EquipmentVendorID = Column ('equipmentvendorid' , ForeignKey (Organizations .OrganizationID ), nullable = False )
545
545
EquipmentPurchaseDate = Column ('equipmentpurchasedate' , DateTime , nullable = False )
546
546
EquipmentPurchaseOrderNumber = Column ('equipmentpurchaseordernumber' , String (50 ))
547
547
EquipmentDescription = Column ('equipmentdescription' , String (500 ))
548
+ EquipmentDocumentationLink = Column ('equipmentdocumentationlink' , String (255 ))
548
549
549
550
PersonObj = relationship (People )
550
551
OrganizationObj = relationship (Organizations )
@@ -580,7 +581,7 @@ class EquipmentUsed(Base):
580
581
581
582
class MaintenanceActions (Base ):
582
583
ActionID = Column ('actionid' , Integer , ForeignKey (Actions .ActionID ), primary_key = True , nullable = False )
583
- IsFactoryService = Column ('isfactoryservce ' , Boolean , nullable = False )
584
+ IsFactoryService = Column ('isfactoryservice ' , Boolean , nullable = False )
584
585
MaintenanceCode = Column ('maintenancecode' , String (50 ))
585
586
MantenanceReason = Column ('maintenancereason' , String (50 ))
586
587
@@ -836,7 +837,7 @@ class ActionAnnotations(Base):
836
837
837
838
class EquipmentAnnotations (Base ):
838
839
BridgeID = Column ('bridgeid' , Integer , primary_key = True , nullable = False )
839
- EquipmentID = Column ('valueid ' , BigIntegerType , ForeignKey (Equipment .EquipmentID ), nullable = False )
840
+ EquipmentID = Column ('equipmentid ' , BigIntegerType , ForeignKey (Equipment .EquipmentID ), nullable = False )
840
841
AnnotationID = Column ('annotationid' , ForeignKey (Annotations .AnnotationID ), nullable = False )
841
842
842
843
AnnotationObj = relationship (Annotations )
@@ -906,7 +907,7 @@ class ReferenceMaterials(Base):
906
907
nullable = False ,
907
908
index = True
908
909
)
909
- ReferenceMaterialOrganizationID = Column ('referencematerialoranizationid ' ,
910
+ ReferenceMaterialOrganizationID = Column ('referencematerialorganizationid ' ,
910
911
ForeignKey (Organizations .OrganizationID ), nullable = False )
911
912
ReferenceMaterialCode = Column ('referencematerialcode' , String (50 ), nullable = False )
912
913
ReferenceMaterialLotCode = Column ('referencemateriallotcode' , String (255 ))
@@ -951,7 +952,7 @@ class ReferenceMaterialValues(Base):
951
952
952
953
class ResultNormalizationValues (Base ):
953
954
ResultID = Column (u'resultid' , ForeignKey (Results .ResultID ), primary_key = True )
954
- ReferenceMaterialValueID = Column (u'referencematerialvalueid ' ,
955
+ ReferenceMaterialValueID = Column (u'normalizedbyreferencematerialvalueid ' ,
955
956
ForeignKey (ReferenceMaterialValues .ReferenceMaterialValueID ),
956
957
nullable = False )
957
958
@@ -1068,8 +1069,8 @@ class CitationExternalIdentifiers(Base):
1068
1069
ExternalIdentifierSystemID = Column ('externalidentifiersystemid' ,
1069
1070
ForeignKey (ExternalIdentifierSystems .ExternalIdentifierSystemID ),
1070
1071
nullable = False )
1071
- CitationExternalIdentifier = Column ('citationexternaldentifier ' , String (255 ), nullable = False )
1072
- CitationExternalIdentifierURI = Column ('citationexternaldentifieruri ' , String (255 ))
1072
+ CitationExternalIdentifier = Column ('citationexternalidentifier ' , String (255 ), nullable = False )
1073
+ CitationExternalIdentifierURI = Column ('citationexternalidentifieruri ' , String (255 ))
1073
1074
1074
1075
CitationObj = relationship (Citations )
1075
1076
ExternalIdentifierSystemObj = relationship (ExternalIdentifierSystems )
@@ -1678,7 +1679,7 @@ class SpectraResultValues(Base):
1678
1679
ValueDateTime = Column ('valuedatetime' , DateTimeType , nullable = False )
1679
1680
ValueDateTimeUTCOffset = Column ('valuedatetimeutcoffset' , Integer , nullable = False )
1680
1681
ExcitationWavelength = Column ('excitationwavelength' , Float (53 ), nullable = False )
1681
- EmissionWavelength = Column ('emmistionwavelength ' , Float (53 ), nullable = False )
1682
+ EmissionWavelength = Column ('emissionwavelength ' , Float (53 ), nullable = False )
1682
1683
WavelengthUnitsID = Column ('wavelengthunitsid' , ForeignKey (Units .UnitsID ), nullable = False )
1683
1684
CensorCodeCV = Column ('censorcodecv' , ForeignKey (CVCensorCode .Name ), nullable = False , index = True )
1684
1685
QualityCodeCV = Column ('qualitycodecv' , ForeignKey (CVQualityCode .Name ), nullable = False , index = True )
0 commit comments