Save method

This commit is contained in:
Eden Kirin
2024-06-26 01:55:33 +02:00
parent 3dc8d0d79f
commit bdc978aec1
6 changed files with 126 additions and 18 deletions

View File

@ -21,7 +21,7 @@ type Company struct {
UpdatedAt time.Time `faker:"-"`
}
func (m *Company) TableName() string {
func (m Company) TableName() string {
return "companies"
}