upvotes
This commit is contained in:
@@ -44,6 +44,7 @@ func Close(db *gorm.DB) error {
|
||||
func CreateSchema(db *gorm.DB) error {
|
||||
err := db.AutoMigrate(
|
||||
&models.Feedback{},
|
||||
&models.Upvote{},
|
||||
)
|
||||
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user