Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for person_id (0.07 seconds)

  1. tests/joins_table_test.go

    		t.Fatalf("Failed to delete address, got error %v", err)
    	}
    
    	if len(person.Addresses) != 1 {
    		t.Fatalf("Should have one address left")
    	}
    
    	if DB.Find(&[]PersonAddress{}, "person_id = ?", person.ID).RowsAffected != 1 {
    		t.Fatalf("Should found one address")
    	}
    
    	var addresses2 []Address
    	if err := DB.Model(&person).Association("Addresses").Find(&addresses2); err != nil || len(addresses2) != 1 {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Sep 10 13:46:18 GMT 2020
    - 3.5K bytes
    - Click Count (1)
  2. .ci/dockerOnLinuxExclusions

    # This file specifies the Linux OS versions on which we can't build and
    # test Docker images for some reason. These values correspond to ID and
    # VERSION_ID from /etc/os-release, and a matching value will cause the
    # Docker tests to be skipped on that OS. If /etc/os-release doesn't exist
    # (as is the case on centos-6, for example) then that OS will again be
    # excluded.
    debian-8
    opensuse-leap-15.1
    ol-7.7
    sles-12.3 # older version used in Vagrant image
    sles-12.5
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jul 29 23:07:12 GMT 2021
    - 615 bytes
    - Click Count (0)
  3. .ci/scripts/packaging-test.sh

            # FIXME: The base image should not have rpm installed
            sudo rm -Rf /usr/bin/rpm
            # Work around incorrect lintian version
            #  https://github.com/elastic/elasticsearch/issues/48573
            if [ $VERSION_ID == 10 ] ; then
                sudo apt-get install -y --allow-downgrades lintian=2.15.0
            fi
        fi
    else
        cat /etc/issue || true
    fi
    
    sudo bash -c 'cat > /etc/sudoers.d/elasticsearch_vars'  << SUDOERS_VARS
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu May 06 21:46:09 GMT 2021
    - 2.3K bytes
    - Click Count (0)
  4. .ci/os.sh

            # FIXME: The base image should not have rpm installed
            sudo rm -Rf /usr/bin/rpm
            # Work around incorrect lintian version
            #  https://github.com/elastic/elasticsearch/issues/48573
            if [ $VERSION_ID == 10 ] ; then
                sudo apt-get install -y --allow-downgrades lintian=2.15.0
            fi
        fi
    else
        cat /etc/issue || true
    fi
    
    sudo bash -c 'cat > /etc/sudoers.d/elasticsearch_vars'  << SUDOERS_VARS
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Feb 17 17:41:23 GMT 2021
    - 2.3K bytes
    - Click Count (0)
Back to Top