We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
I'm using gorm ORM and i've defined a model including gorm.Model.
gorm
gorm.Model
type BaseModel struct { gorm.Model PublicID uuid.UUID `gorm:"type:uuid;default:gen_random_uuid();uniqueIndex"` Name string `admin:"required:true"` } type JobModel struct { BaseModel }
after registering the model and accessing it with admin, I got:
Code: 500. Error: ERROR: column "basemodel" does not exist (SQLSTATE 42703)
To Reproduce Steps to reproduce the behavior:
Expected behavior Admin should allows to add a record.
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
I'm using
gorm
ORM and i've defined a model includinggorm.Model
.after registering the model and accessing it with admin, I got:
Code: 500. Error: ERROR: column "basemodel" does not exist (SQLSTATE 42703)
To Reproduce
Steps to reproduce the behavior:
gorm.Model
Expected behavior
Admin should allows to add a record.
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: