Skip to content

Add JSON schema struct generation #1040

Add JSON schema struct generation

Add JSON schema struct generation #1040

Triggered via pull request November 27, 2023 15:49
Status Failure
Total duration 57s
Artifacts

build.yml

on: pull_request
Matrix: examples
Matrix: test
release
0s
release
Fit to window
Zoom out
Zoom in

Annotations

54 errors and 1 warning
License check
Process completed with exit code 1.
test (postgres 15.3): pkg/roll/execute_test.go#L471
unknown field PrimaryKey in struct literal of type struct{Check *migrations.CheckConstraint "json:\"check,omitempty\" yaml:\"check,omitempty\" mapstructure:\"check,omitempty\""; Default *string "json:\"default,omitempty\" yaml:\"default,omitempty\" mapstructure:\"default,omitempty\""; Name string "json:\"name\" yaml:\"name\" mapstructure:\"name\""; Nullable bool "json:\"nullable\" yaml:\"nullable\" mapstructure:\"nullable\""; Pk bool "json:\"pk\" yaml:\"pk\" mapstructure:\"pk\""; References *migrations.ForeignKeyReference "json:\"references,omitempty\" yaml:\"references,omitempty\" mapstructure:\"references,omitempty\""; Type string "json:\"type\" yaml:\"type\" mapstructure:\"type\""; Unique bool "json:\"unique\" yaml:\"unique\" mapstructure:\"unique\""}
test (postgres 15.3): pkg/migrations/op_add_column_test.go#L29
unknown field PrimaryKey in struct literal of type struct{Check *migrations.CheckConstraint "json:\"check,omitempty\" yaml:\"check,omitempty\" mapstructure:\"check,omitempty\""; Default *string "json:\"default,omitempty\" yaml:\"default,omitempty\" mapstructure:\"default,omitempty\""; Name string "json:\"name\" yaml:\"name\" mapstructure:\"name\""; Nullable bool "json:\"nullable\" yaml:\"nullable\" mapstructure:\"nullable\""; Pk bool "json:\"pk\" yaml:\"pk\" mapstructure:\"pk\""; References *migrations.ForeignKeyReference "json:\"references,omitempty\" yaml:\"references,omitempty\" mapstructure:\"references,omitempty\""; Type string "json:\"type\" yaml:\"type\" mapstructure:\"type\""; Unique bool "json:\"unique\" yaml:\"unique\" mapstructure:\"unique\""}
test (postgres 15.3): pkg/migrations/op_add_column_test.go#L126
unknown field PrimaryKey in struct literal of type struct{Check *migrations.CheckConstraint "json:\"check,omitempty\" yaml:\"check,omitempty\" mapstructure:\"check,omitempty\""; Default *string "json:\"default,omitempty\" yaml:\"default,omitempty\" mapstructure:\"default,omitempty\""; Name string "json:\"name\" yaml:\"name\" mapstructure:\"name\""; Nullable bool "json:\"nullable\" yaml:\"nullable\" mapstructure:\"nullable\""; Pk bool "json:\"pk\" yaml:\"pk\" mapstructure:\"pk\""; References *migrations.ForeignKeyReference "json:\"references,omitempty\" yaml:\"references,omitempty\" mapstructure:\"references,omitempty\""; Type string "json:\"type\" yaml:\"type\" mapstructure:\"type\""; Unique bool "json:\"unique\" yaml:\"unique\" mapstructure:\"unique\""}
test (postgres 15.3): pkg/migrations/op_add_column_test.go#L141
unknown field PrimaryKey in struct literal of type struct{Check *migrations.CheckConstraint "json:\"check,omitempty\" yaml:\"check,omitempty\" mapstructure:\"check,omitempty\""; Default *string "json:\"default,omitempty\" yaml:\"default,omitempty\" mapstructure:\"default,omitempty\""; Name string "json:\"name\" yaml:\"name\" mapstructure:\"name\""; Nullable bool "json:\"nullable\" yaml:\"nullable\" mapstructure:\"nullable\""; Pk bool "json:\"pk\" yaml:\"pk\" mapstructure:\"pk\""; References *migrations.ForeignKeyReference "json:\"references,omitempty\" yaml:\"references,omitempty\" mapstructure:\"references,omitempty\""; Type string "json:\"type\" yaml:\"type\" mapstructure:\"type\""; Unique bool "json:\"unique\" yaml:\"unique\" mapstructure:\"unique\""}
test (postgres 15.3): pkg/migrations/op_add_column_test.go#L228
unknown field PrimaryKey in struct literal of type struct{Check *migrations.CheckConstraint "json:\"check,omitempty\" yaml:\"check,omitempty\" mapstructure:\"check,omitempty\""; Default *string "json:\"default,omitempty\" yaml:\"default,omitempty\" mapstructure:\"default,omitempty\""; Name string "json:\"name\" yaml:\"name\" mapstructure:\"name\""; Nullable bool "json:\"nullable\" yaml:\"nullable\" mapstructure:\"nullable\""; Pk bool "json:\"pk\" yaml:\"pk\" mapstructure:\"pk\""; References *migrations.ForeignKeyReference "json:\"references,omitempty\" yaml:\"references,omitempty\" mapstructure:\"references,omitempty\""; Type string "json:\"type\" yaml:\"type\" mapstructure:\"type\""; Unique bool "json:\"unique\" yaml:\"unique\" mapstructure:\"unique\""}
test (postgres 15.3): pkg/migrations/op_add_column_test.go#L243
unknown field PrimaryKey in struct literal of type struct{Check *migrations.CheckConstraint "json:\"check,omitempty\" yaml:\"check,omitempty\" mapstructure:\"check,omitempty\""; Default *string "json:\"default,omitempty\" yaml:\"default,omitempty\" mapstructure:\"default,omitempty\""; Name string "json:\"name\" yaml:\"name\" mapstructure:\"name\""; Nullable bool "json:\"nullable\" yaml:\"nullable\" mapstructure:\"nullable\""; Pk bool "json:\"pk\" yaml:\"pk\" mapstructure:\"pk\""; References *migrations.ForeignKeyReference "json:\"references,omitempty\" yaml:\"references,omitempty\" mapstructure:\"references,omitempty\""; Type string "json:\"type\" yaml:\"type\" mapstructure:\"type\""; Unique bool "json:\"unique\" yaml:\"unique\" mapstructure:\"unique\""}
test (postgres 15.3): pkg/migrations/op_add_column_test.go#L337
unknown field PrimaryKey in struct literal of type struct{Check *migrations.CheckConstraint "json:\"check,omitempty\" yaml:\"check,omitempty\" mapstructure:\"check,omitempty\""; Default *string "json:\"default,omitempty\" yaml:\"default,omitempty\" mapstructure:\"default,omitempty\""; Name string "json:\"name\" yaml:\"name\" mapstructure:\"name\""; Nullable bool "json:\"nullable\" yaml:\"nullable\" mapstructure:\"nullable\""; Pk bool "json:\"pk\" yaml:\"pk\" mapstructure:\"pk\""; References *migrations.ForeignKeyReference "json:\"references,omitempty\" yaml:\"references,omitempty\" mapstructure:\"references,omitempty\""; Type string "json:\"type\" yaml:\"type\" mapstructure:\"type\""; Unique bool "json:\"unique\" yaml:\"unique\" mapstructure:\"unique\""}
test (postgres 15.3): pkg/migrations/op_add_column_test.go#L424
unknown field PrimaryKey in struct literal of type struct{Check *migrations.CheckConstraint "json:\"check,omitempty\" yaml:\"check,omitempty\" mapstructure:\"check,omitempty\""; Default *string "json:\"default,omitempty\" yaml:\"default,omitempty\" mapstructure:\"default,omitempty\""; Name string "json:\"name\" yaml:\"name\" mapstructure:\"name\""; Nullable bool "json:\"nullable\" yaml:\"nullable\" mapstructure:\"nullable\""; Pk bool "json:\"pk\" yaml:\"pk\" mapstructure:\"pk\""; References *migrations.ForeignKeyReference "json:\"references,omitempty\" yaml:\"references,omitempty\" mapstructure:\"references,omitempty\""; Type string "json:\"type\" yaml:\"type\" mapstructure:\"type\""; Unique bool "json:\"unique\" yaml:\"unique\" mapstructure:\"unique\""}
test (postgres 15.3): pkg/migrations/op_add_column_test.go#L490
unknown field PrimaryKey in struct literal of type struct{Check *migrations.CheckConstraint "json:\"check,omitempty\" yaml:\"check,omitempty\" mapstructure:\"check,omitempty\""; Default *string "json:\"default,omitempty\" yaml:\"default,omitempty\" mapstructure:\"default,omitempty\""; Name string "json:\"name\" yaml:\"name\" mapstructure:\"name\""; Nullable bool "json:\"nullable\" yaml:\"nullable\" mapstructure:\"nullable\""; Pk bool "json:\"pk\" yaml:\"pk\" mapstructure:\"pk\""; References *migrations.ForeignKeyReference "json:\"references,omitempty\" yaml:\"references,omitempty\" mapstructure:\"references,omitempty\""; Type string "json:\"type\" yaml:\"type\" mapstructure:\"type\""; Unique bool "json:\"unique\" yaml:\"unique\" mapstructure:\"unique\""}
test (postgres 15.3): pkg/migrations/op_add_column_test.go#L609
unknown field PrimaryKey in struct literal of type struct{Check *migrations.CheckConstraint "json:\"check,omitempty\" yaml:\"check,omitempty\" mapstructure:\"check,omitempty\""; Default *string "json:\"default,omitempty\" yaml:\"default,omitempty\" mapstructure:\"default,omitempty\""; Name string "json:\"name\" yaml:\"name\" mapstructure:\"name\""; Nullable bool "json:\"nullable\" yaml:\"nullable\" mapstructure:\"nullable\""; Pk bool "json:\"pk\" yaml:\"pk\" mapstructure:\"pk\""; References *migrations.ForeignKeyReference "json:\"references,omitempty\" yaml:\"references,omitempty\" mapstructure:\"references,omitempty\""; Type string "json:\"type\" yaml:\"type\" mapstructure:\"type\""; Unique bool "json:\"unique\" yaml:\"unique\" mapstructure:\"unique\""}
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
test (postgres latest)
The job was canceled because "_15_3" failed.
test (postgres latest): pkg/migrations/op_add_column_test.go#L29
unknown field PrimaryKey in struct literal of type struct{Check *migrations.CheckConstraint "json:\"check,omitempty\" yaml:\"check,omitempty\" mapstructure:\"check,omitempty\""; Default *string "json:\"default,omitempty\" yaml:\"default,omitempty\" mapstructure:\"default,omitempty\""; Name string "json:\"name\" yaml:\"name\" mapstructure:\"name\""; Nullable bool "json:\"nullable\" yaml:\"nullable\" mapstructure:\"nullable\""; Pk bool "json:\"pk\" yaml:\"pk\" mapstructure:\"pk\""; References *migrations.ForeignKeyReference "json:\"references,omitempty\" yaml:\"references,omitempty\" mapstructure:\"references,omitempty\""; Type string "json:\"type\" yaml:\"type\" mapstructure:\"type\""; Unique bool "json:\"unique\" yaml:\"unique\" mapstructure:\"unique\""}
test (postgres latest): pkg/migrations/op_add_column_test.go#L126
unknown field PrimaryKey in struct literal of type struct{Check *migrations.CheckConstraint "json:\"check,omitempty\" yaml:\"check,omitempty\" mapstructure:\"check,omitempty\""; Default *string "json:\"default,omitempty\" yaml:\"default,omitempty\" mapstructure:\"default,omitempty\""; Name string "json:\"name\" yaml:\"name\" mapstructure:\"name\""; Nullable bool "json:\"nullable\" yaml:\"nullable\" mapstructure:\"nullable\""; Pk bool "json:\"pk\" yaml:\"pk\" mapstructure:\"pk\""; References *migrations.ForeignKeyReference "json:\"references,omitempty\" yaml:\"references,omitempty\" mapstructure:\"references,omitempty\""; Type string "json:\"type\" yaml:\"type\" mapstructure:\"type\""; Unique bool "json:\"unique\" yaml:\"unique\" mapstructure:\"unique\""}
test (postgres latest): pkg/migrations/op_add_column_test.go#L141
unknown field PrimaryKey in struct literal of type struct{Check *migrations.CheckConstraint "json:\"check,omitempty\" yaml:\"check,omitempty\" mapstructure:\"check,omitempty\""; Default *string "json:\"default,omitempty\" yaml:\"default,omitempty\" mapstructure:\"default,omitempty\""; Name string "json:\"name\" yaml:\"name\" mapstructure:\"name\""; Nullable bool "json:\"nullable\" yaml:\"nullable\" mapstructure:\"nullable\""; Pk bool "json:\"pk\" yaml:\"pk\" mapstructure:\"pk\""; References *migrations.ForeignKeyReference "json:\"references,omitempty\" yaml:\"references,omitempty\" mapstructure:\"references,omitempty\""; Type string "json:\"type\" yaml:\"type\" mapstructure:\"type\""; Unique bool "json:\"unique\" yaml:\"unique\" mapstructure:\"unique\""}
test (postgres latest): pkg/migrations/op_add_column_test.go#L228
unknown field PrimaryKey in struct literal of type struct{Check *migrations.CheckConstraint "json:\"check,omitempty\" yaml:\"check,omitempty\" mapstructure:\"check,omitempty\""; Default *string "json:\"default,omitempty\" yaml:\"default,omitempty\" mapstructure:\"default,omitempty\""; Name string "json:\"name\" yaml:\"name\" mapstructure:\"name\""; Nullable bool "json:\"nullable\" yaml:\"nullable\" mapstructure:\"nullable\""; Pk bool "json:\"pk\" yaml:\"pk\" mapstructure:\"pk\""; References *migrations.ForeignKeyReference "json:\"references,omitempty\" yaml:\"references,omitempty\" mapstructure:\"references,omitempty\""; Type string "json:\"type\" yaml:\"type\" mapstructure:\"type\""; Unique bool "json:\"unique\" yaml:\"unique\" mapstructure:\"unique\""}
test (postgres latest): pkg/migrations/op_add_column_test.go#L243
unknown field PrimaryKey in struct literal of type struct{Check *migrations.CheckConstraint "json:\"check,omitempty\" yaml:\"check,omitempty\" mapstructure:\"check,omitempty\""; Default *string "json:\"default,omitempty\" yaml:\"default,omitempty\" mapstructure:\"default,omitempty\""; Name string "json:\"name\" yaml:\"name\" mapstructure:\"name\""; Nullable bool "json:\"nullable\" yaml:\"nullable\" mapstructure:\"nullable\""; Pk bool "json:\"pk\" yaml:\"pk\" mapstructure:\"pk\""; References *migrations.ForeignKeyReference "json:\"references,omitempty\" yaml:\"references,omitempty\" mapstructure:\"references,omitempty\""; Type string "json:\"type\" yaml:\"type\" mapstructure:\"type\""; Unique bool "json:\"unique\" yaml:\"unique\" mapstructure:\"unique\""}
test (postgres latest): pkg/migrations/op_add_column_test.go#L337
unknown field PrimaryKey in struct literal of type struct{Check *migrations.CheckConstraint "json:\"check,omitempty\" yaml:\"check,omitempty\" mapstructure:\"check,omitempty\""; Default *string "json:\"default,omitempty\" yaml:\"default,omitempty\" mapstructure:\"default,omitempty\""; Name string "json:\"name\" yaml:\"name\" mapstructure:\"name\""; Nullable bool "json:\"nullable\" yaml:\"nullable\" mapstructure:\"nullable\""; Pk bool "json:\"pk\" yaml:\"pk\" mapstructure:\"pk\""; References *migrations.ForeignKeyReference "json:\"references,omitempty\" yaml:\"references,omitempty\" mapstructure:\"references,omitempty\""; Type string "json:\"type\" yaml:\"type\" mapstructure:\"type\""; Unique bool "json:\"unique\" yaml:\"unique\" mapstructure:\"unique\""}
test (postgres latest): pkg/migrations/op_add_column_test.go#L424
unknown field PrimaryKey in struct literal of type struct{Check *migrations.CheckConstraint "json:\"check,omitempty\" yaml:\"check,omitempty\" mapstructure:\"check,omitempty\""; Default *string "json:\"default,omitempty\" yaml:\"default,omitempty\" mapstructure:\"default,omitempty\""; Name string "json:\"name\" yaml:\"name\" mapstructure:\"name\""; Nullable bool "json:\"nullable\" yaml:\"nullable\" mapstructure:\"nullable\""; Pk bool "json:\"pk\" yaml:\"pk\" mapstructure:\"pk\""; References *migrations.ForeignKeyReference "json:\"references,omitempty\" yaml:\"references,omitempty\" mapstructure:\"references,omitempty\""; Type string "json:\"type\" yaml:\"type\" mapstructure:\"type\""; Unique bool "json:\"unique\" yaml:\"unique\" mapstructure:\"unique\""}
test (postgres latest): pkg/migrations/op_add_column_test.go#L490
unknown field PrimaryKey in struct literal of type struct{Check *migrations.CheckConstraint "json:\"check,omitempty\" yaml:\"check,omitempty\" mapstructure:\"check,omitempty\""; Default *string "json:\"default,omitempty\" yaml:\"default,omitempty\" mapstructure:\"default,omitempty\""; Name string "json:\"name\" yaml:\"name\" mapstructure:\"name\""; Nullable bool "json:\"nullable\" yaml:\"nullable\" mapstructure:\"nullable\""; Pk bool "json:\"pk\" yaml:\"pk\" mapstructure:\"pk\""; References *migrations.ForeignKeyReference "json:\"references,omitempty\" yaml:\"references,omitempty\" mapstructure:\"references,omitempty\""; Type string "json:\"type\" yaml:\"type\" mapstructure:\"type\""; Unique bool "json:\"unique\" yaml:\"unique\" mapstructure:\"unique\""}
test (postgres latest): pkg/migrations/op_add_column_test.go#L609
unknown field PrimaryKey in struct literal of type struct{Check *migrations.CheckConstraint "json:\"check,omitempty\" yaml:\"check,omitempty\" mapstructure:\"check,omitempty\""; Default *string "json:\"default,omitempty\" yaml:\"default,omitempty\" mapstructure:\"default,omitempty\""; Name string "json:\"name\" yaml:\"name\" mapstructure:\"name\""; Nullable bool "json:\"nullable\" yaml:\"nullable\" mapstructure:\"nullable\""; Pk bool "json:\"pk\" yaml:\"pk\" mapstructure:\"pk\""; References *migrations.ForeignKeyReference "json:\"references,omitempty\" yaml:\"references,omitempty\" mapstructure:\"references,omitempty\""; Type string "json:\"type\" yaml:\"type\" mapstructure:\"type\""; Unique bool "json:\"unique\" yaml:\"unique\" mapstructure:\"unique\""}
test (postgres latest): pkg/migrations/op_alter_column_test.go#L23
unknown field PrimaryKey in struct literal of type struct{Check *migrations.CheckConstraint "json:\"check,omitempty\" yaml:\"check,omitempty\" mapstructure:\"check,omitempty\""; Default *string "json:\"default,omitempty\" yaml:\"default,omitempty\" mapstructure:\"default,omitempty\""; Name string "json:\"name\" yaml:\"name\" mapstructure:\"name\""; Nullable bool "json:\"nullable\" yaml:\"nullable\" mapstructure:\"nullable\""; Pk bool "json:\"pk\" yaml:\"pk\" mapstructure:\"pk\""; References *migrations.ForeignKeyReference "json:\"references,omitempty\" yaml:\"references,omitempty\" mapstructure:\"references,omitempty\""; Type string "json:\"type\" yaml:\"type\" mapstructure:\"type\""; Unique bool "json:\"unique\" yaml:\"unique\" mapstructure:\"unique\""}
test (postgres 14.8)
The job was canceled because "_15_3" failed.
test (postgres 14.8): pkg/roll/execute_test.go#L471
unknown field PrimaryKey in struct literal of type struct{Check *migrations.CheckConstraint "json:\"check,omitempty\" yaml:\"check,omitempty\" mapstructure:\"check,omitempty\""; Default *string "json:\"default,omitempty\" yaml:\"default,omitempty\" mapstructure:\"default,omitempty\""; Name string "json:\"name\" yaml:\"name\" mapstructure:\"name\""; Nullable bool "json:\"nullable\" yaml:\"nullable\" mapstructure:\"nullable\""; Pk bool "json:\"pk\" yaml:\"pk\" mapstructure:\"pk\""; References *migrations.ForeignKeyReference "json:\"references,omitempty\" yaml:\"references,omitempty\" mapstructure:\"references,omitempty\""; Type string "json:\"type\" yaml:\"type\" mapstructure:\"type\""; Unique bool "json:\"unique\" yaml:\"unique\" mapstructure:\"unique\""}
test (postgres 14.8): pkg/migrations/op_add_column_test.go#L29
unknown field PrimaryKey in struct literal of type struct{Check *migrations.CheckConstraint "json:\"check,omitempty\" yaml:\"check,omitempty\" mapstructure:\"check,omitempty\""; Default *string "json:\"default,omitempty\" yaml:\"default,omitempty\" mapstructure:\"default,omitempty\""; Name string "json:\"name\" yaml:\"name\" mapstructure:\"name\""; Nullable bool "json:\"nullable\" yaml:\"nullable\" mapstructure:\"nullable\""; Pk bool "json:\"pk\" yaml:\"pk\" mapstructure:\"pk\""; References *migrations.ForeignKeyReference "json:\"references,omitempty\" yaml:\"references,omitempty\" mapstructure:\"references,omitempty\""; Type string "json:\"type\" yaml:\"type\" mapstructure:\"type\""; Unique bool "json:\"unique\" yaml:\"unique\" mapstructure:\"unique\""}
test (postgres 14.8): pkg/migrations/op_add_column_test.go#L126
unknown field PrimaryKey in struct literal of type struct{Check *migrations.CheckConstraint "json:\"check,omitempty\" yaml:\"check,omitempty\" mapstructure:\"check,omitempty\""; Default *string "json:\"default,omitempty\" yaml:\"default,omitempty\" mapstructure:\"default,omitempty\""; Name string "json:\"name\" yaml:\"name\" mapstructure:\"name\""; Nullable bool "json:\"nullable\" yaml:\"nullable\" mapstructure:\"nullable\""; Pk bool "json:\"pk\" yaml:\"pk\" mapstructure:\"pk\""; References *migrations.ForeignKeyReference "json:\"references,omitempty\" yaml:\"references,omitempty\" mapstructure:\"references,omitempty\""; Type string "json:\"type\" yaml:\"type\" mapstructure:\"type\""; Unique bool "json:\"unique\" yaml:\"unique\" mapstructure:\"unique\""}
test (postgres 14.8): pkg/migrations/op_add_column_test.go#L141
unknown field PrimaryKey in struct literal of type struct{Check *migrations.CheckConstraint "json:\"check,omitempty\" yaml:\"check,omitempty\" mapstructure:\"check,omitempty\""; Default *string "json:\"default,omitempty\" yaml:\"default,omitempty\" mapstructure:\"default,omitempty\""; Name string "json:\"name\" yaml:\"name\" mapstructure:\"name\""; Nullable bool "json:\"nullable\" yaml:\"nullable\" mapstructure:\"nullable\""; Pk bool "json:\"pk\" yaml:\"pk\" mapstructure:\"pk\""; References *migrations.ForeignKeyReference "json:\"references,omitempty\" yaml:\"references,omitempty\" mapstructure:\"references,omitempty\""; Type string "json:\"type\" yaml:\"type\" mapstructure:\"type\""; Unique bool "json:\"unique\" yaml:\"unique\" mapstructure:\"unique\""}
test (postgres 14.8): pkg/migrations/op_add_column_test.go#L228
unknown field PrimaryKey in struct literal of type struct{Check *migrations.CheckConstraint "json:\"check,omitempty\" yaml:\"check,omitempty\" mapstructure:\"check,omitempty\""; Default *string "json:\"default,omitempty\" yaml:\"default,omitempty\" mapstructure:\"default,omitempty\""; Name string "json:\"name\" yaml:\"name\" mapstructure:\"name\""; Nullable bool "json:\"nullable\" yaml:\"nullable\" mapstructure:\"nullable\""; Pk bool "json:\"pk\" yaml:\"pk\" mapstructure:\"pk\""; References *migrations.ForeignKeyReference "json:\"references,omitempty\" yaml:\"references,omitempty\" mapstructure:\"references,omitempty\""; Type string "json:\"type\" yaml:\"type\" mapstructure:\"type\""; Unique bool "json:\"unique\" yaml:\"unique\" mapstructure:\"unique\""}
test (postgres 14.8): pkg/migrations/op_add_column_test.go#L243
unknown field PrimaryKey in struct literal of type struct{Check *migrations.CheckConstraint "json:\"check,omitempty\" yaml:\"check,omitempty\" mapstructure:\"check,omitempty\""; Default *string "json:\"default,omitempty\" yaml:\"default,omitempty\" mapstructure:\"default,omitempty\""; Name string "json:\"name\" yaml:\"name\" mapstructure:\"name\""; Nullable bool "json:\"nullable\" yaml:\"nullable\" mapstructure:\"nullable\""; Pk bool "json:\"pk\" yaml:\"pk\" mapstructure:\"pk\""; References *migrations.ForeignKeyReference "json:\"references,omitempty\" yaml:\"references,omitempty\" mapstructure:\"references,omitempty\""; Type string "json:\"type\" yaml:\"type\" mapstructure:\"type\""; Unique bool "json:\"unique\" yaml:\"unique\" mapstructure:\"unique\""}
test (postgres 14.8): pkg/migrations/op_add_column_test.go#L337
unknown field PrimaryKey in struct literal of type struct{Check *migrations.CheckConstraint "json:\"check,omitempty\" yaml:\"check,omitempty\" mapstructure:\"check,omitempty\""; Default *string "json:\"default,omitempty\" yaml:\"default,omitempty\" mapstructure:\"default,omitempty\""; Name string "json:\"name\" yaml:\"name\" mapstructure:\"name\""; Nullable bool "json:\"nullable\" yaml:\"nullable\" mapstructure:\"nullable\""; Pk bool "json:\"pk\" yaml:\"pk\" mapstructure:\"pk\""; References *migrations.ForeignKeyReference "json:\"references,omitempty\" yaml:\"references,omitempty\" mapstructure:\"references,omitempty\""; Type string "json:\"type\" yaml:\"type\" mapstructure:\"type\""; Unique bool "json:\"unique\" yaml:\"unique\" mapstructure:\"unique\""}
test (postgres 14.8): pkg/migrations/op_add_column_test.go#L424
unknown field PrimaryKey in struct literal of type struct{Check *migrations.CheckConstraint "json:\"check,omitempty\" yaml:\"check,omitempty\" mapstructure:\"check,omitempty\""; Default *string "json:\"default,omitempty\" yaml:\"default,omitempty\" mapstructure:\"default,omitempty\""; Name string "json:\"name\" yaml:\"name\" mapstructure:\"name\""; Nullable bool "json:\"nullable\" yaml:\"nullable\" mapstructure:\"nullable\""; Pk bool "json:\"pk\" yaml:\"pk\" mapstructure:\"pk\""; References *migrations.ForeignKeyReference "json:\"references,omitempty\" yaml:\"references,omitempty\" mapstructure:\"references,omitempty\""; Type string "json:\"type\" yaml:\"type\" mapstructure:\"type\""; Unique bool "json:\"unique\" yaml:\"unique\" mapstructure:\"unique\""}
test (postgres 14.8): pkg/migrations/op_add_column_test.go#L490
unknown field PrimaryKey in struct literal of type struct{Check *migrations.CheckConstraint "json:\"check,omitempty\" yaml:\"check,omitempty\" mapstructure:\"check,omitempty\""; Default *string "json:\"default,omitempty\" yaml:\"default,omitempty\" mapstructure:\"default,omitempty\""; Name string "json:\"name\" yaml:\"name\" mapstructure:\"name\""; Nullable bool "json:\"nullable\" yaml:\"nullable\" mapstructure:\"nullable\""; Pk bool "json:\"pk\" yaml:\"pk\" mapstructure:\"pk\""; References *migrations.ForeignKeyReference "json:\"references,omitempty\" yaml:\"references,omitempty\" mapstructure:\"references,omitempty\""; Type string "json:\"type\" yaml:\"type\" mapstructure:\"type\""; Unique bool "json:\"unique\" yaml:\"unique\" mapstructure:\"unique\""}
test (postgres 14.8): pkg/migrations/op_add_column_test.go#L609
unknown field PrimaryKey in struct literal of type struct{Check *migrations.CheckConstraint "json:\"check,omitempty\" yaml:\"check,omitempty\" mapstructure:\"check,omitempty\""; Default *string "json:\"default,omitempty\" yaml:\"default,omitempty\" mapstructure:\"default,omitempty\""; Name string "json:\"name\" yaml:\"name\" mapstructure:\"name\""; Nullable bool "json:\"nullable\" yaml:\"nullable\" mapstructure:\"nullable\""; Pk bool "json:\"pk\" yaml:\"pk\" mapstructure:\"pk\""; References *migrations.ForeignKeyReference "json:\"references,omitempty\" yaml:\"references,omitempty\" mapstructure:\"references,omitempty\""; Type string "json:\"type\" yaml:\"type\" mapstructure:\"type\""; Unique bool "json:\"unique\" yaml:\"unique\" mapstructure:\"unique\""}
test (postgres 16.0)
The job was canceled because "_15_3" failed.
test (postgres 16.0): pkg/roll/execute_test.go#L471
unknown field PrimaryKey in struct literal of type struct{Check *migrations.CheckConstraint "json:\"check,omitempty\" yaml:\"check,omitempty\" mapstructure:\"check,omitempty\""; Default *string "json:\"default,omitempty\" yaml:\"default,omitempty\" mapstructure:\"default,omitempty\""; Name string "json:\"name\" yaml:\"name\" mapstructure:\"name\""; Nullable bool "json:\"nullable\" yaml:\"nullable\" mapstructure:\"nullable\""; Pk bool "json:\"pk\" yaml:\"pk\" mapstructure:\"pk\""; References *migrations.ForeignKeyReference "json:\"references,omitempty\" yaml:\"references,omitempty\" mapstructure:\"references,omitempty\""; Type string "json:\"type\" yaml:\"type\" mapstructure:\"type\""; Unique bool "json:\"unique\" yaml:\"unique\" mapstructure:\"unique\""}
test (postgres 16.0): pkg/migrations/op_add_column_test.go#L29
unknown field PrimaryKey in struct literal of type struct{Check *migrations.CheckConstraint "json:\"check,omitempty\" yaml:\"check,omitempty\" mapstructure:\"check,omitempty\""; Default *string "json:\"default,omitempty\" yaml:\"default,omitempty\" mapstructure:\"default,omitempty\""; Name string "json:\"name\" yaml:\"name\" mapstructure:\"name\""; Nullable bool "json:\"nullable\" yaml:\"nullable\" mapstructure:\"nullable\""; Pk bool "json:\"pk\" yaml:\"pk\" mapstructure:\"pk\""; References *migrations.ForeignKeyReference "json:\"references,omitempty\" yaml:\"references,omitempty\" mapstructure:\"references,omitempty\""; Type string "json:\"type\" yaml:\"type\" mapstructure:\"type\""; Unique bool "json:\"unique\" yaml:\"unique\" mapstructure:\"unique\""}
test (postgres 16.0): pkg/migrations/op_add_column_test.go#L126
unknown field PrimaryKey in struct literal of type struct{Check *migrations.CheckConstraint "json:\"check,omitempty\" yaml:\"check,omitempty\" mapstructure:\"check,omitempty\""; Default *string "json:\"default,omitempty\" yaml:\"default,omitempty\" mapstructure:\"default,omitempty\""; Name string "json:\"name\" yaml:\"name\" mapstructure:\"name\""; Nullable bool "json:\"nullable\" yaml:\"nullable\" mapstructure:\"nullable\""; Pk bool "json:\"pk\" yaml:\"pk\" mapstructure:\"pk\""; References *migrations.ForeignKeyReference "json:\"references,omitempty\" yaml:\"references,omitempty\" mapstructure:\"references,omitempty\""; Type string "json:\"type\" yaml:\"type\" mapstructure:\"type\""; Unique bool "json:\"unique\" yaml:\"unique\" mapstructure:\"unique\""}
test (postgres 16.0): pkg/migrations/op_add_column_test.go#L141
unknown field PrimaryKey in struct literal of type struct{Check *migrations.CheckConstraint "json:\"check,omitempty\" yaml:\"check,omitempty\" mapstructure:\"check,omitempty\""; Default *string "json:\"default,omitempty\" yaml:\"default,omitempty\" mapstructure:\"default,omitempty\""; Name string "json:\"name\" yaml:\"name\" mapstructure:\"name\""; Nullable bool "json:\"nullable\" yaml:\"nullable\" mapstructure:\"nullable\""; Pk bool "json:\"pk\" yaml:\"pk\" mapstructure:\"pk\""; References *migrations.ForeignKeyReference "json:\"references,omitempty\" yaml:\"references,omitempty\" mapstructure:\"references,omitempty\""; Type string "json:\"type\" yaml:\"type\" mapstructure:\"type\""; Unique bool "json:\"unique\" yaml:\"unique\" mapstructure:\"unique\""}
test (postgres 16.0): pkg/migrations/op_add_column_test.go#L228
unknown field PrimaryKey in struct literal of type struct{Check *migrations.CheckConstraint "json:\"check,omitempty\" yaml:\"check,omitempty\" mapstructure:\"check,omitempty\""; Default *string "json:\"default,omitempty\" yaml:\"default,omitempty\" mapstructure:\"default,omitempty\""; Name string "json:\"name\" yaml:\"name\" mapstructure:\"name\""; Nullable bool "json:\"nullable\" yaml:\"nullable\" mapstructure:\"nullable\""; Pk bool "json:\"pk\" yaml:\"pk\" mapstructure:\"pk\""; References *migrations.ForeignKeyReference "json:\"references,omitempty\" yaml:\"references,omitempty\" mapstructure:\"references,omitempty\""; Type string "json:\"type\" yaml:\"type\" mapstructure:\"type\""; Unique bool "json:\"unique\" yaml:\"unique\" mapstructure:\"unique\""}
test (postgres 16.0): pkg/migrations/op_add_column_test.go#L243
unknown field PrimaryKey in struct literal of type struct{Check *migrations.CheckConstraint "json:\"check,omitempty\" yaml:\"check,omitempty\" mapstructure:\"check,omitempty\""; Default *string "json:\"default,omitempty\" yaml:\"default,omitempty\" mapstructure:\"default,omitempty\""; Name string "json:\"name\" yaml:\"name\" mapstructure:\"name\""; Nullable bool "json:\"nullable\" yaml:\"nullable\" mapstructure:\"nullable\""; Pk bool "json:\"pk\" yaml:\"pk\" mapstructure:\"pk\""; References *migrations.ForeignKeyReference "json:\"references,omitempty\" yaml:\"references,omitempty\" mapstructure:\"references,omitempty\""; Type string "json:\"type\" yaml:\"type\" mapstructure:\"type\""; Unique bool "json:\"unique\" yaml:\"unique\" mapstructure:\"unique\""}
test (postgres 16.0): pkg/migrations/op_add_column_test.go#L337
unknown field PrimaryKey in struct literal of type struct{Check *migrations.CheckConstraint "json:\"check,omitempty\" yaml:\"check,omitempty\" mapstructure:\"check,omitempty\""; Default *string "json:\"default,omitempty\" yaml:\"default,omitempty\" mapstructure:\"default,omitempty\""; Name string "json:\"name\" yaml:\"name\" mapstructure:\"name\""; Nullable bool "json:\"nullable\" yaml:\"nullable\" mapstructure:\"nullable\""; Pk bool "json:\"pk\" yaml:\"pk\" mapstructure:\"pk\""; References *migrations.ForeignKeyReference "json:\"references,omitempty\" yaml:\"references,omitempty\" mapstructure:\"references,omitempty\""; Type string "json:\"type\" yaml:\"type\" mapstructure:\"type\""; Unique bool "json:\"unique\" yaml:\"unique\" mapstructure:\"unique\""}
test (postgres 16.0): pkg/migrations/op_add_column_test.go#L424
unknown field PrimaryKey in struct literal of type struct{Check *migrations.CheckConstraint "json:\"check,omitempty\" yaml:\"check,omitempty\" mapstructure:\"check,omitempty\""; Default *string "json:\"default,omitempty\" yaml:\"default,omitempty\" mapstructure:\"default,omitempty\""; Name string "json:\"name\" yaml:\"name\" mapstructure:\"name\""; Nullable bool "json:\"nullable\" yaml:\"nullable\" mapstructure:\"nullable\""; Pk bool "json:\"pk\" yaml:\"pk\" mapstructure:\"pk\""; References *migrations.ForeignKeyReference "json:\"references,omitempty\" yaml:\"references,omitempty\" mapstructure:\"references,omitempty\""; Type string "json:\"type\" yaml:\"type\" mapstructure:\"type\""; Unique bool "json:\"unique\" yaml:\"unique\" mapstructure:\"unique\""}
test (postgres 16.0): pkg/migrations/op_add_column_test.go#L490
unknown field PrimaryKey in struct literal of type struct{Check *migrations.CheckConstraint "json:\"check,omitempty\" yaml:\"check,omitempty\" mapstructure:\"check,omitempty\""; Default *string "json:\"default,omitempty\" yaml:\"default,omitempty\" mapstructure:\"default,omitempty\""; Name string "json:\"name\" yaml:\"name\" mapstructure:\"name\""; Nullable bool "json:\"nullable\" yaml:\"nullable\" mapstructure:\"nullable\""; Pk bool "json:\"pk\" yaml:\"pk\" mapstructure:\"pk\""; References *migrations.ForeignKeyReference "json:\"references,omitempty\" yaml:\"references,omitempty\" mapstructure:\"references,omitempty\""; Type string "json:\"type\" yaml:\"type\" mapstructure:\"type\""; Unique bool "json:\"unique\" yaml:\"unique\" mapstructure:\"unique\""}
test (postgres 16.0): pkg/migrations/op_add_column_test.go#L609
unknown field PrimaryKey in struct literal of type struct{Check *migrations.CheckConstraint "json:\"check,omitempty\" yaml:\"check,omitempty\" mapstructure:\"check,omitempty\""; Default *string "json:\"default,omitempty\" yaml:\"default,omitempty\" mapstructure:\"default,omitempty\""; Name string "json:\"name\" yaml:\"name\" mapstructure:\"name\""; Nullable bool "json:\"nullable\" yaml:\"nullable\" mapstructure:\"nullable\""; Pk bool "json:\"pk\" yaml:\"pk\" mapstructure:\"pk\""; References *migrations.ForeignKeyReference "json:\"references,omitempty\" yaml:\"references,omitempty\" mapstructure:\"references,omitempty\""; Type string "json:\"type\" yaml:\"type\" mapstructure:\"type\""; Unique bool "json:\"unique\" yaml:\"unique\" mapstructure:\"unique\""}
lint
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2