@@ -463,7 +463,7 @@ class DataLoggerFiles(Base):
463463
464464
465465class EquipmentModels (Base ):
466- ModelID = Column ('modelid ' , Integer , primary_key = True , nullable = False )
466+ ModelID = Column ('equipmentmodelid ' , Integer , primary_key = True , nullable = False )
467467 ModelManufacturerID = Column ('modelmanufacturerid' , Integer ,
468468 ForeignKey (Organizations .OrganizationID ), nullable = False )
469469 ModelPartNumber = Column ('modelpartnumber' , String (50 ))
@@ -537,14 +537,15 @@ class Equipment(Base):
537537 EquipmentCode = Column ('equipmentcode' , String (50 ), nullable = False )
538538 EquipmentName = Column ('equipmentname' , String (255 ), nullable = False )
539539 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 )
542542 EquipmentInventoryNumber = Column ('equipmentinventorynumber' , String (50 ))
543543 EquipmentOwnerID = Column ('equipmentownerid' , ForeignKey (People .PersonID ), nullable = False )
544544 EquipmentVendorID = Column ('equipmentvendorid' , ForeignKey (Organizations .OrganizationID ), nullable = False )
545545 EquipmentPurchaseDate = Column ('equipmentpurchasedate' , DateTime , nullable = False )
546546 EquipmentPurchaseOrderNumber = Column ('equipmentpurchaseordernumber' , String (50 ))
547547 EquipmentDescription = Column ('equipmentdescription' , String (500 ))
548+ EquipmentDocumentationLink = Column ('equipmentdocumentationlink' , String (255 ))
548549
549550 PersonObj = relationship (People )
550551 OrganizationObj = relationship (Organizations )
@@ -580,7 +581,7 @@ class EquipmentUsed(Base):
580581
581582class MaintenanceActions (Base ):
582583 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 )
584585 MaintenanceCode = Column ('maintenancecode' , String (50 ))
585586 MantenanceReason = Column ('maintenancereason' , String (50 ))
586587
@@ -836,7 +837,7 @@ class ActionAnnotations(Base):
836837
837838class EquipmentAnnotations (Base ):
838839 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 )
840841 AnnotationID = Column ('annotationid' , ForeignKey (Annotations .AnnotationID ), nullable = False )
841842
842843 AnnotationObj = relationship (Annotations )
@@ -906,7 +907,7 @@ class ReferenceMaterials(Base):
906907 nullable = False ,
907908 index = True
908909 )
909- ReferenceMaterialOrganizationID = Column ('referencematerialoranizationid ' ,
910+ ReferenceMaterialOrganizationID = Column ('referencematerialorganizationid ' ,
910911 ForeignKey (Organizations .OrganizationID ), nullable = False )
911912 ReferenceMaterialCode = Column ('referencematerialcode' , String (50 ), nullable = False )
912913 ReferenceMaterialLotCode = Column ('referencemateriallotcode' , String (255 ))
@@ -951,7 +952,7 @@ class ReferenceMaterialValues(Base):
951952
952953class ResultNormalizationValues (Base ):
953954 ResultID = Column (u'resultid' , ForeignKey (Results .ResultID ), primary_key = True )
954- ReferenceMaterialValueID = Column (u'referencematerialvalueid ' ,
955+ ReferenceMaterialValueID = Column (u'normalizedbyreferencematerialvalueid ' ,
955956 ForeignKey (ReferenceMaterialValues .ReferenceMaterialValueID ),
956957 nullable = False )
957958
@@ -1068,8 +1069,8 @@ class CitationExternalIdentifiers(Base):
10681069 ExternalIdentifierSystemID = Column ('externalidentifiersystemid' ,
10691070 ForeignKey (ExternalIdentifierSystems .ExternalIdentifierSystemID ),
10701071 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 ))
10731074
10741075 CitationObj = relationship (Citations )
10751076 ExternalIdentifierSystemObj = relationship (ExternalIdentifierSystems )
@@ -1678,7 +1679,7 @@ class SpectraResultValues(Base):
16781679 ValueDateTime = Column ('valuedatetime' , DateTimeType , nullable = False )
16791680 ValueDateTimeUTCOffset = Column ('valuedatetimeutcoffset' , Integer , nullable = False )
16801681 ExcitationWavelength = Column ('excitationwavelength' , Float (53 ), nullable = False )
1681- EmissionWavelength = Column ('emmistionwavelength ' , Float (53 ), nullable = False )
1682+ EmissionWavelength = Column ('emissionwavelength ' , Float (53 ), nullable = False )
16821683 WavelengthUnitsID = Column ('wavelengthunitsid' , ForeignKey (Units .UnitsID ), nullable = False )
16831684 CensorCodeCV = Column ('censorcodecv' , ForeignKey (CVCensorCode .Name ), nullable = False , index = True )
16841685 QualityCodeCV = Column ('qualitycodecv' , ForeignKey (CVQualityCode .Name ), nullable = False , index = True )
0 commit comments