Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for migrate (0.25 sec)

  1. tests/migrate_test.go

    	DB.Migrator().DropTable("user_speaks", "user_friends", "ccc")
    
    	if err := DB.Migrator().DropTable(allModels...); err != nil {
    		t.Fatalf("Failed to drop table, got error %v", err)
    	}
    
    	if err := DB.AutoMigrate(allModels...); err != nil {
    		t.Fatalf("Failed to auto migrate, got error %v", err)
    	}
    
    	if tables, err := DB.Migrator().GetTables(); err != nil {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_7.adoc

    Plugin authors migrate to extensions if they replicate the changes we've done internally.
    Here are some examples:
    
    - Migrate plugin configuration: link:https://github.com/gradle/gradle/pull/16900/files#diff-ac53d4f39698b83e30b93855fe6a725ffd96d5ed9df156d4f9dfd32bdc7946e7[gradle/gradle#16900].
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 15:00:23 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_8.adoc

    // limitations under the License.
    
    [[upgrading_version_8]]
    = Upgrading your build from Gradle 8.x to the latest
    
    This chapter provides the information you need to migrate your Gradle 8.x builds to the latest Gradle release.
    For migrating from Gradle 4.x, 5.x, 6.x, or 7.x, see the <<upgrading_version_7.adoc#upgrading_version_7, older migration guide>> first.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 17:01:07 UTC 2024
    - 90.7K bytes
    - Viewed (0)
  4. pkg/controller/endpointslice/endpointslice_controller_test.go

    }
    
    // TestPodAddsBatching verifies that endpoint updates caused by pod addition are batched together.
    // This test uses real time.Sleep, as there is no easy way to mock time in endpoints controller now.
    // TODO(mborsz): Migrate this test to mock clock when possible.
    func TestPodAddsBatching(t *testing.T) {
    	t.Parallel()
    
    	type podAdd struct {
    		delay time.Duration
    	}
    
    	tests := []struct {
    		name             string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  5. docs/bucket/notifications/README.md

    > ```
    >
    > These are now deprecated, if you plan to upgrade to any releases after _RELEASE.2020-04-10T03-34-42Z_ make sure
    > to migrate to only using _connection_string_ option. To migrate, once you have upgraded all the servers use the
    > following command to update the existing notification targets.
    >
    > ```
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 84K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_4.adoc

    // limitations under the License.
    
    [[upgrading_version_4]]
    = Upgrading your build from Gradle 4.x to 5.0
    
    This chapter provides the information you need to migrate your older Gradle 4.x builds to Gradle 5.0.
    In most cases, you will need to apply the changes from all versions that come after the one you're upgrading from.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 03:01:48 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  7. .bazelrc

    # See https://github.com/bazelbuild/bazel/issues/7362 for information on what
    # --incompatible_remove_legacy_whole_archive flag does.
    # This flag is set to true in Bazel 1.0 and newer versions. We tried to migrate
    # Tensorflow to the default, however test coverage wasn't enough to catch the
    # errors.
    # There is ongoing work on Bazel team's side to provide support for transitive
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 17:12:54 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  8. tests/query_test.go

    func TestCustomizedTypePrimaryKey(t *testing.T) {
    	type ID uint
    	type CustomizedTypePrimaryKey struct {
    		ID   ID
    		Name string
    	}
    
    	DB.Migrator().DropTable(&CustomizedTypePrimaryKey{})
    	if err := DB.AutoMigrate(&CustomizedTypePrimaryKey{}); err != nil {
    		t.Fatalf("failed to migrate, got error %v", err)
    	}
    
    	p1 := CustomizedTypePrimaryKey{Name: "p1"}
    	p2 := CustomizedTypePrimaryKey{Name: "p2"}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 49.8K bytes
    - Viewed (0)
  9. pkg/controller/endpoint/endpoints_controller_test.go

    }
    
    // TestPodUpdatesBatching verifies that endpoint updates caused by pod updates are batched together.
    // This test uses real time.Sleep, as there is no easy way to mock time in endpoints controller now.
    // TODO(mborsz): Migrate this test to mock clock when possible.
    func TestPodUpdatesBatching(t *testing.T) {
    	type podUpdate struct {
    		delay   time.Duration
    		podName string
    		podIP   string
    	}
    
    	tests := []struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  10. cmd/iam.go

    	retryCtx, cancel := context.WithCancel(ctx)
    
    	// Indicate to our routine to exit cleanly upon return.
    	defer cancel()
    
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    
    	// Migrate storage format if needed.
    	for {
    		// Migrate IAM configuration, if necessary.
    		if err := saveIAMFormat(retryCtx, sys.store); err != nil {
    			if configRetriableErrors(err) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
Back to top