- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for TiDB (0.01 seconds)
-
.github/workflows/tests.yml
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Mar 23 10:05:06 GMT 2026 - 9K bytes - Click Count (0) -
tests/helper_test.go
} }) } func tidbSkip(t *testing.T, reason string) { if isTiDB() { t.Skipf("This test case skipped, because of TiDB '%s'", reason) } } func isTiDB() bool { return os.Getenv("GORM_DIALECT") == "tidb" } func isMysql() bool { return os.Getenv("GORM_DIALECT") == "mysql" } func mysqlVersionAtLeast(major, minor int) bool { if !isMysql() {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:27:38 GMT 2026 - 8.6K bytes - Click Count (0) -
tests/migrate_test.go
t.Fatalf("Should not find index for user's name after delete") } } func TestTiDBMigrateColumns(t *testing.T) { if !isTiDB() { t.Skip() } // TiDB can't change column constraint and has auto_random feature type ColumnStruct struct { ID int `gorm:"primarykey;default:auto_random()"` Name string Age int `gorm:"default:18;comment:my age"`
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:49:01 GMT 2026 - 66.3K bytes - Click Count (0)