gorm/tests/joins.go

16 lines
212 B
Go
Raw Normal View History

2020-03-08 14:12:33 +03:00
package tests
import (
"testing"
"github.com/jinzhu/gorm"
)
func TestJoins(t *testing.T, db *gorm.DB) {
2020-04-15 14:13:36 +03:00
db.Migrator().DropTable(&User{})
db.AutoMigrate(&User{})
t.Run("Joins", func(t *testing.T) {
})
2020-03-08 14:12:33 +03:00
}