This is extremely useful for testing. In order to do this I needed to actually deploy the migration to a bob fork so I could start to add support for behaviors I really want. Specifically the ability to search for ids in a slice.
44 lines
1.1 KiB
Go
44 lines
1.1 KiB
Go
// Code generated by BobGen psql v0.42.5. DO NOT EDIT.
|
|
// This file is meant to be re-generated in place and/or deleted at any time.
|
|
|
|
package dberrors
|
|
|
|
var OrganizationErrors = &organizationErrors{
|
|
ErrUniqueOrganizationPkey: &UniqueConstraintError{
|
|
schema: "",
|
|
table: "organization",
|
|
columns: []string{"id"},
|
|
s: "organization_pkey",
|
|
},
|
|
|
|
ErrUniqueOrganizationImportDistrictGidKey: &UniqueConstraintError{
|
|
schema: "",
|
|
table: "organization",
|
|
columns: []string{"import_district_gid"},
|
|
s: "organization_import_district_gid_key",
|
|
},
|
|
|
|
ErrUniqueOrganizationSlugKey: &UniqueConstraintError{
|
|
schema: "",
|
|
table: "organization",
|
|
columns: []string{"slug"},
|
|
s: "organization_slug_key",
|
|
},
|
|
|
|
ErrUniqueOrganizationWebsiteKey: &UniqueConstraintError{
|
|
schema: "",
|
|
table: "organization",
|
|
columns: []string{"website"},
|
|
s: "organization_website_key",
|
|
},
|
|
}
|
|
|
|
type organizationErrors struct {
|
|
ErrUniqueOrganizationPkey *UniqueConstraintError
|
|
|
|
ErrUniqueOrganizationImportDistrictGidKey *UniqueConstraintError
|
|
|
|
ErrUniqueOrganizationSlugKey *UniqueConstraintError
|
|
|
|
ErrUniqueOrganizationWebsiteKey *UniqueConstraintError
|
|
}
|