package
Version:
v0.0.2
Opens a new window with list of versions in this module.
Published: Jun 5, 2020
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type CreateTableTest struct {
gorm.Model
Name string `gorm:"type:varchar(50);unique_index:name_u_idx;"`
BT bool `gorm:"default:0;index"`
Uidx1 string `gorm:"type:varchar(50);unique_index:uidx;"`
}
type CreateTableTestV2 struct {
gorm.Model
Name string `gorm:"type:varchar(100)"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.