Add strain notes
This commit is contained in:
parent
9e49cf4bd1
commit
c5ea88c464
2 changed files with 2 additions and 0 deletions
|
@ -10,6 +10,7 @@ CREATE TABLE strains (
|
|||
accession_banks CHARACTER VARYING(100) NULL,
|
||||
genbank_embl_ddb CHARACTER VARYING(100) NULL,
|
||||
isolated_from CHARACTER VARYING(100) NULL,
|
||||
notes TEXT NULL,
|
||||
author_id BIGINT NOT NULL,
|
||||
|
||||
created_at TIMESTAMP WITH TIME ZONE NOT NULL,
|
||||
|
|
|
@ -29,6 +29,7 @@ type StrainBase struct {
|
|||
AccessionBanks string `db:"accession_banks" json:"accessionBanks"`
|
||||
GenbankEmblDdb NullString `db:"genbank_embl_ddb" json:"genbankEmblDdb"`
|
||||
IsolatedFrom NullString `db:"isolated_from" json:"isolatedFrom"`
|
||||
Notes NullString `db:"notes" json:"notes"`
|
||||
AuthorId int64 `db:"author_id" json:"author"`
|
||||
CreatedAt time.Time `db:"created_at" json:"createdAt"`
|
||||
UpdatedAt time.Time `db:"updated_at" json:"updatedAt"`
|
||||
|
|
Reference in a new issue