Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 154 for migrate (0.05 sec)

  1. docs/es/docs/how-to/graphql.md

    Esto fue marcado como obsoleto en Starlette, pero si aún tienes código que lo usa, puedes fácilmente **migrar** a <a href="https://github.com/ciscorn/starlette-graphene3" class="external-link" target="_blank">starlette-graphene3</a>, la cual cubre el mismo caso de uso y tiene una **interfaz casi idéntica.**
    
    /// tip | Consejo
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. tests/joins_test.go

    			CompanyID  *uint
    			Company    Company
    		}
    
    		Building struct {
    			gorm.Model
    			Name    string
    			OwnerID *uint
    			Owner   Owner
    		}
    	)
    
    	DB.Migrator().DropTable(&Building{}, &Owner{}, &Furniture{})
    	DB.Migrator().AutoMigrate(&Building{}, &Owner{}, &Furniture{})
    
    	home := &Building{Name: "relation_empty"}
    	DB.Create(home)
    
    	var entries []Building
    	assert.NotPanics(t, func() {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 17 03:58:13 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. tests/associations_belongs_to_test.go

    	}
    
    	tx := DB.Session(&gorm.Session{})
    	tx.Config.DisableForeignKeyConstraintWhenMigrating = true
    	AssertEqual(t, DB.Config.DisableForeignKeyConstraintWhenMigrating, false)
    
    	tx.Migrator().DropTable(&BelongsToUser{}, &Org{})
    	tx.AutoMigrate(&BelongsToUser{}, &Org{})
    
    	user := &BelongsToUser{
    		Org: Org{
    			ID: "BelongsToUser_Org_1",
    		},
    	}
    	err := DB.Create(&user).Error
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  4. CHANGELOG.md

        are changed; the old `okhttp3.mockwebserver` APIs remain as they always have been.
    
    
    ## Version 5.0.0-alpha.7
    
    _2022-04-26_
    
    **This release introduces new Kotlin-friendly APIs.** When we migrated OkHttp from Java to Kotlin in
    OkHttp 4.0, we kept our Java-first APIs. With 5.0 we're continuing to support Java and adding
    additional improvements for Kotlin users. In this alpha we're excited to skip-the-builder for
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 18 01:31:39 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  5. docs/pt/docs/how-to/graphql.md

    Ela foi descontinuada do Starlette, mas se você tem código que a utilizava, você pode facilmente **migrar** para <a href="https://github.com/ciscorn/starlette-graphene3" class="external-link" target="_blank">starlette-graphene3</a>, que cobre o mesmo caso de uso e tem uma **interface quase idêntica**.
    
    /// tip | "Dica"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. tests/update_test.go

    	}
    }
    
    func TestUpdatesTableWithIgnoredValues(t *testing.T) {
    	type ElementWithIgnoredField struct {
    		Id           int64
    		Value        string
    		IgnoredField int64 `gorm:"-"`
    	}
    	DB.Migrator().DropTable(&ElementWithIgnoredField{})
    	DB.AutoMigrate(&ElementWithIgnoredField{})
    
    	elem := ElementWithIgnoredField{Value: "foo", IgnoredField: 10}
    	DB.Save(&elem)
    
    	DB.Model(&ElementWithIgnoredField{}).
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Dec 04 03:50:58 UTC 2023
    - 30.3K bytes
    - Viewed (0)
  7. manifests/addons/dashboards/pilot-dashboard.gen.json

             "targets": [
                {
                   "datasource": {
                      "type": "prometheus",
                      "uid": "$datasource"
                   },
                   "expr": "sum by (pod) (irate(container_cpu_usage_seconds_total{container=\"discovery\",pod=~\"istiod-.*\"}[$__rate_interval]))",
                   "legendFormat": "Container ({{pod}})"
                }
             ],
             "title": "CPU Usage",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jul 26 23:54:32 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  8. tests/delete_test.go

    		t.Errorf("should returns record not found error, but got %v", err)
    	}
    }
    
    func TestDeleteWithTable(t *testing.T) {
    	type UserWithDelete struct {
    		gorm.Model
    		Name string
    	}
    
    	DB.Table("deleted_users").Migrator().DropTable(UserWithDelete{})
    	DB.Table("deleted_users").AutoMigrate(UserWithDelete{})
    
    	user := UserWithDelete{Name: "delete1"}
    	DB.Table("deleted_users").Create(&user)
    
    	var result UserWithDelete
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Oct 10 07:03:34 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  9. android/pom.xml

              pages.
    
              This flag does not exist on 9-10 and 13+ (https://bugs.openjdk.java.net/browse/JDK-8215582).
    
              Consider removing it once our release and test scripts are migrated to a recent JDK (17+).
           -->
          <id>javadocs-jdk11-12</id>
          <activation>
            <jdk>[11,13)</jdk>
          </activation>
          <properties>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 21K bytes
    - Viewed (0)
  10. pom.xml

              pages.
    
              This flag does not exist on 9-10 and 13+ (https://bugs.openjdk.java.net/browse/JDK-8215582).
    
              Consider removing it once our release and test scripts are migrated to a recent JDK (17+).
           -->
          <id>javadocs-jdk11-12</id>
          <activation>
            <jdk>[11,13)</jdk>
          </activation>
          <properties>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 20.6K bytes
    - Viewed (0)
Back to top