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
gorm:"primaryKey;autoIncrement"
gorm:"size:20"
gorm:"size:60"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
只需需改
type CasbinRule struct {
ID uint
gorm:"primaryKey;autoIncrement"
Ptype string
gorm:"size:20"
V0 string
gorm:"size:20"
V1 string
gorm:"size:60"
V2 string
gorm:"size:20"
V3 string
gorm:"size:20"
V4 string
gorm:"size:20"
V5 string
gorm:"size:20"
}
的size值即可
The text was updated successfully, but these errors were encountered: