fix alot
This commit is contained in:
@@ -13,3 +13,9 @@ type FileRecord struct {
|
||||
Deleted bool `json:"deleted"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
}
|
||||
|
||||
type User struct {
|
||||
ID uint `gorm:"primaryKey"`
|
||||
Username string `gorm:"unique"`
|
||||
Password string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user