Fixing up type strain
This commit is contained in:
parent
bba04f6a82
commit
c7f534271e
2 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ CREATE TABLE strains (
|
|||
id BIGSERIAL NOT NULL,
|
||||
species_id BIGINT NOT NULL,
|
||||
strain_name CHARACTER VARYING(100) NOT NULL,
|
||||
strain_type CHARACTER VARYING(100) NOT NULL,
|
||||
type_strain BOOLEAN NOT NULL,
|
||||
etymology CHARACTER VARYING(500) NULL,
|
||||
accession_banks CHARACTER VARYING(100) NULL,
|
||||
genbank_embl_ddb CHARACTER VARYING(100) NULL,
|
||||
|
|
|
@ -23,7 +23,7 @@ type StrainBase struct {
|
|||
Id int64 `json:"id,omitempty"`
|
||||
SpeciesId int64 `db:"species_id" json:"-"`
|
||||
StrainName string `db:"strain_name" json:"strainName"`
|
||||
StrainType string `db:"strain_type" json:"strainType"`
|
||||
TypeStrain bool `db:"type_strain" json:"typeStrain"`
|
||||
Etymology NullString `db:"etymology" json:"etymology"`
|
||||
AccessionBanks string `db:"accession_banks" json:"accessionBanks"`
|
||||
GenbankEmblDdb NullString `db:"genbank_embl_ddb" json:"genbankEmblDdb"`
|
||||
|
|
Reference in a new issue