Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for allModels (0.11 sec)

  1. tests/tests_test.go

    	}
    
    	return
    }
    
    func RunMigrations() {
    	var err error
    	allModels := []interface{}{&User{}, &Account{}, &Pet{}, &Company{}, &Toy{}, &Language{}, &Coupon{}, &CouponProduct{}, &Order{}, &Parent{}, &Child{}, &Tools{}}
    	rand.Seed(time.Now().UnixNano())
    	rand.Shuffle(len(allModels), func(i, j int) { allModels[i], allModels[j] = allModels[j], allModels[i] })
    
    	DB.Migrator().DropTable("user_friends", "user_speaks")
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Sep 30 03:21:19 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. tests/migrate_test.go

    )
    
    func TestMigrate(t *testing.T) {
    	allModels := []interface{}{&User{}, &Account{}, &Pet{}, &Company{}, &Toy{}, &Language{}, &Tools{}}
    	rand.Seed(time.Now().UnixNano())
    	rand.Shuffle(len(allModels), func(i, j int) { allModels[i], allModels[j] = allModels[j], allModels[i] })
    	DB.Migrator().DropTable("user_speaks", "user_friends", "ccc")
    
    	if err := DB.Migrator().DropTable(allModels...); err != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
  3. cmd/testdata/xl-meta-merge.zip

    stream¤etagÙ 9fe7a344ef4227d3e537¡vÎeçnÐΔº „ ‚Ù$73c9f651-f023-4566-b012-cc537fdb7ce2Ä’Òù º¢ŸDë ÚNÔI ›¾‘튺]/›h"4 £ !Ìvf00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters 127.0.0.1 site1-nginx 127.0.0.1 site2-nginx Ù$1f163718-9bc5-4b01-bff7-5d8cf09caf10Ä’Òù º¢ŸDë ÚNÔI ›¾‘튺]/›h"4 £ !Ìvf00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters 127.0.0.1 site1-nginx 127.0.0.1 site2-nginx...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 30.2K bytes
    - Viewed (0)
Back to top