Skip to content

Sunioatm/joh 55 database seeding #70

Sunioatm/joh 55 database seeding

Sunioatm/joh 55 database seeding #70

Triggered via pull request January 20, 2024 10:42
Status Failure
Total duration 36s
Artifacts

run-unit-test.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
build: src/database/seeds/constant.seed.go#L15
unknown field Pattern in struct literal of type struct{model.Base; Type string "json:\"type\" gorm:\"tinytext\""; Name string "json:\"name\" gorm:\"tinytext\""; Birthdate string "json:\"birthdate\" gorm:\"tinytext\""; Gender "github.com/isd-sgcu/johnjud-backend/src/constant/pet".Gender "json:\"gender\" gorm:\"tinytext\" example:\"male\""; Color string "json:\"color\" gorm:\"tinytext\""; Habit string "json:\"habit\" gorm:\"mediumtext\""; Caption string "json:\"caption\" gorm:\"mediumtext\""; Status "github.com/isd-sgcu/johnjud-backend/src/constant/pet".Status "json:\"status\" gorm:\"mediumtext\" example:\"findhome\""; IsSterile bool "json:\"is_sterile\""; IsVaccinated bool "json:\"is_vaccine\""; IsVisible bool "json:\"is_visible\""; Origin string "json:\"origin\" gorm:\"tinytext\""; Address string "json:\"address\" gorm:\"tinytext\""; Contact string "json:\"contact\" gorm:\"tinytext\""; AdoptBy string "json:\"adopt_by\" gorm:\"tinytext\""}
build: src/database/seeds/constant.seed.go#L32
unknown field Pattern in struct literal of type struct{model.Base; Type string "json:\"type\" gorm:\"tinytext\""; Name string "json:\"name\" gorm:\"tinytext\""; Birthdate string "json:\"birthdate\" gorm:\"tinytext\""; Gender "github.com/isd-sgcu/johnjud-backend/src/constant/pet".Gender "json:\"gender\" gorm:\"tinytext\" example:\"male\""; Color string "json:\"color\" gorm:\"tinytext\""; Habit string "json:\"habit\" gorm:\"mediumtext\""; Caption string "json:\"caption\" gorm:\"mediumtext\""; Status "github.com/isd-sgcu/johnjud-backend/src/constant/pet".Status "json:\"status\" gorm:\"mediumtext\" example:\"findhome\""; IsSterile bool "json:\"is_sterile\""; IsVaccinated bool "json:\"is_vaccine\""; IsVisible bool "json:\"is_visible\""; Origin string "json:\"origin\" gorm:\"tinytext\""; Address string "json:\"address\" gorm:\"tinytext\""; Contact string "json:\"contact\" gorm:\"tinytext\""; AdoptBy string "json:\"adopt_by\" gorm:\"tinytext\""}
build: src/database/seeds/constant.seed.go#L49
unknown field Pattern in struct literal of type struct{model.Base; Type string "json:\"type\" gorm:\"tinytext\""; Name string "json:\"name\" gorm:\"tinytext\""; Birthdate string "json:\"birthdate\" gorm:\"tinytext\""; Gender "github.com/isd-sgcu/johnjud-backend/src/constant/pet".Gender "json:\"gender\" gorm:\"tinytext\" example:\"male\""; Color string "json:\"color\" gorm:\"tinytext\""; Habit string "json:\"habit\" gorm:\"mediumtext\""; Caption string "json:\"caption\" gorm:\"mediumtext\""; Status "github.com/isd-sgcu/johnjud-backend/src/constant/pet".Status "json:\"status\" gorm:\"mediumtext\" example:\"findhome\""; IsSterile bool "json:\"is_sterile\""; IsVaccinated bool "json:\"is_vaccine\""; IsVisible bool "json:\"is_visible\""; Origin string "json:\"origin\" gorm:\"tinytext\""; Address string "json:\"address\" gorm:\"tinytext\""; Contact string "json:\"contact\" gorm:\"tinytext\""; AdoptBy string "json:\"adopt_by\" gorm:\"tinytext\""}
build: src/database/seeds/constant.seed.go#L66
unknown field Pattern in struct literal of type struct{model.Base; Type string "json:\"type\" gorm:\"tinytext\""; Name string "json:\"name\" gorm:\"tinytext\""; Birthdate string "json:\"birthdate\" gorm:\"tinytext\""; Gender "github.com/isd-sgcu/johnjud-backend/src/constant/pet".Gender "json:\"gender\" gorm:\"tinytext\" example:\"male\""; Color string "json:\"color\" gorm:\"tinytext\""; Habit string "json:\"habit\" gorm:\"mediumtext\""; Caption string "json:\"caption\" gorm:\"mediumtext\""; Status "github.com/isd-sgcu/johnjud-backend/src/constant/pet".Status "json:\"status\" gorm:\"mediumtext\" example:\"findhome\""; IsSterile bool "json:\"is_sterile\""; IsVaccinated bool "json:\"is_vaccine\""; IsVisible bool "json:\"is_visible\""; Origin string "json:\"origin\" gorm:\"tinytext\""; Address string "json:\"address\" gorm:\"tinytext\""; Contact string "json:\"contact\" gorm:\"tinytext\""; AdoptBy string "json:\"adopt_by\" gorm:\"tinytext\""}
build: src/database/seeds/constant.seed.go#L83
unknown field Pattern in struct literal of type struct{model.Base; Type string "json:\"type\" gorm:\"tinytext\""; Name string "json:\"name\" gorm:\"tinytext\""; Birthdate string "json:\"birthdate\" gorm:\"tinytext\""; Gender "github.com/isd-sgcu/johnjud-backend/src/constant/pet".Gender "json:\"gender\" gorm:\"tinytext\" example:\"male\""; Color string "json:\"color\" gorm:\"tinytext\""; Habit string "json:\"habit\" gorm:\"mediumtext\""; Caption string "json:\"caption\" gorm:\"mediumtext\""; Status "github.com/isd-sgcu/johnjud-backend/src/constant/pet".Status "json:\"status\" gorm:\"mediumtext\" example:\"findhome\""; IsSterile bool "json:\"is_sterile\""; IsVaccinated bool "json:\"is_vaccine\""; IsVisible bool "json:\"is_visible\""; Origin string "json:\"origin\" gorm:\"tinytext\""; Address string "json:\"address\" gorm:\"tinytext\""; Contact string "json:\"contact\" gorm:\"tinytext\""; AdoptBy string "json:\"adopt_by\" gorm:\"tinytext\""}
build: src/database/seeds/constant.seed.go#L100
unknown field Pattern in struct literal of type struct{model.Base; Type string "json:\"type\" gorm:\"tinytext\""; Name string "json:\"name\" gorm:\"tinytext\""; Birthdate string "json:\"birthdate\" gorm:\"tinytext\""; Gender "github.com/isd-sgcu/johnjud-backend/src/constant/pet".Gender "json:\"gender\" gorm:\"tinytext\" example:\"male\""; Color string "json:\"color\" gorm:\"tinytext\""; Habit string "json:\"habit\" gorm:\"mediumtext\""; Caption string "json:\"caption\" gorm:\"mediumtext\""; Status "github.com/isd-sgcu/johnjud-backend/src/constant/pet".Status "json:\"status\" gorm:\"mediumtext\" example:\"findhome\""; IsSterile bool "json:\"is_sterile\""; IsVaccinated bool "json:\"is_vaccine\""; IsVisible bool "json:\"is_visible\""; Origin string "json:\"origin\" gorm:\"tinytext\""; Address string "json:\"address\" gorm:\"tinytext\""; Contact string "json:\"contact\" gorm:\"tinytext\""; AdoptBy string "json:\"adopt_by\" gorm:\"tinytext\""}
build: src/database/seeds/constant.seed.go#L117
unknown field Pattern in struct literal of type struct{model.Base; Type string "json:\"type\" gorm:\"tinytext\""; Name string "json:\"name\" gorm:\"tinytext\""; Birthdate string "json:\"birthdate\" gorm:\"tinytext\""; Gender "github.com/isd-sgcu/johnjud-backend/src/constant/pet".Gender "json:\"gender\" gorm:\"tinytext\" example:\"male\""; Color string "json:\"color\" gorm:\"tinytext\""; Habit string "json:\"habit\" gorm:\"mediumtext\""; Caption string "json:\"caption\" gorm:\"mediumtext\""; Status "github.com/isd-sgcu/johnjud-backend/src/constant/pet".Status "json:\"status\" gorm:\"mediumtext\" example:\"findhome\""; IsSterile bool "json:\"is_sterile\""; IsVaccinated bool "json:\"is_vaccine\""; IsVisible bool "json:\"is_visible\""; Origin string "json:\"origin\" gorm:\"tinytext\""; Address string "json:\"address\" gorm:\"tinytext\""; Contact string "json:\"contact\" gorm:\"tinytext\""; AdoptBy string "json:\"adopt_by\" gorm:\"tinytext\""}
build: src/database/seeds/constant.seed.go#L134
unknown field Pattern in struct literal of type struct{model.Base; Type string "json:\"type\" gorm:\"tinytext\""; Name string "json:\"name\" gorm:\"tinytext\""; Birthdate string "json:\"birthdate\" gorm:\"tinytext\""; Gender "github.com/isd-sgcu/johnjud-backend/src/constant/pet".Gender "json:\"gender\" gorm:\"tinytext\" example:\"male\""; Color string "json:\"color\" gorm:\"tinytext\""; Habit string "json:\"habit\" gorm:\"mediumtext\""; Caption string "json:\"caption\" gorm:\"mediumtext\""; Status "github.com/isd-sgcu/johnjud-backend/src/constant/pet".Status "json:\"status\" gorm:\"mediumtext\" example:\"findhome\""; IsSterile bool "json:\"is_sterile\""; IsVaccinated bool "json:\"is_vaccine\""; IsVisible bool "json:\"is_visible\""; Origin string "json:\"origin\" gorm:\"tinytext\""; Address string "json:\"address\" gorm:\"tinytext\""; Contact string "json:\"contact\" gorm:\"tinytext\""; AdoptBy string "json:\"adopt_by\" gorm:\"tinytext\""}
build: src/database/seeds/constant.seed.go#L151
unknown field Pattern in struct literal of type struct{model.Base; Type string "json:\"type\" gorm:\"tinytext\""; Name string "json:\"name\" gorm:\"tinytext\""; Birthdate string "json:\"birthdate\" gorm:\"tinytext\""; Gender "github.com/isd-sgcu/johnjud-backend/src/constant/pet".Gender "json:\"gender\" gorm:\"tinytext\" example:\"male\""; Color string "json:\"color\" gorm:\"tinytext\""; Habit string "json:\"habit\" gorm:\"mediumtext\""; Caption string "json:\"caption\" gorm:\"mediumtext\""; Status "github.com/isd-sgcu/johnjud-backend/src/constant/pet".Status "json:\"status\" gorm:\"mediumtext\" example:\"findhome\""; IsSterile bool "json:\"is_sterile\""; IsVaccinated bool "json:\"is_vaccine\""; IsVisible bool "json:\"is_visible\""; Origin string "json:\"origin\" gorm:\"tinytext\""; Address string "json:\"address\" gorm:\"tinytext\""; Contact string "json:\"contact\" gorm:\"tinytext\""; AdoptBy string "json:\"adopt_by\" gorm:\"tinytext\""}
build: src/database/seeds/constant.seed.go#L168
unknown field Pattern in struct literal of type struct{model.Base; Type string "json:\"type\" gorm:\"tinytext\""; Name string "json:\"name\" gorm:\"tinytext\""; Birthdate string "json:\"birthdate\" gorm:\"tinytext\""; Gender "github.com/isd-sgcu/johnjud-backend/src/constant/pet".Gender "json:\"gender\" gorm:\"tinytext\" example:\"male\""; Color string "json:\"color\" gorm:\"tinytext\""; Habit string "json:\"habit\" gorm:\"mediumtext\""; Caption string "json:\"caption\" gorm:\"mediumtext\""; Status "github.com/isd-sgcu/johnjud-backend/src/constant/pet".Status "json:\"status\" gorm:\"mediumtext\" example:\"findhome\""; IsSterile bool "json:\"is_sterile\""; IsVaccinated bool "json:\"is_vaccine\""; IsVisible bool "json:\"is_visible\""; Origin string "json:\"origin\" gorm:\"tinytext\""; Address string "json:\"address\" gorm:\"tinytext\""; Contact string "json:\"contact\" gorm:\"tinytext\""; AdoptBy string "json:\"adopt_by\" gorm:\"tinytext\""}
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/