- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for TableType (0.18 seconds)
-
migrator/table_type.go
import ( "database/sql" ) // TableType table type implements TableType interface type TableType struct { SchemaValue string NameValue string TypeValue string CommentValue sql.NullString } // Schema returns the schema of the table. func (ct TableType) Schema() string { return ct.SchemaValue } // Name returns the name of the table. func (ct TableType) Name() string { return ct.NameValue }Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri May 05 07:58:27 GMT 2023 - 688 bytes - Click Count (0) -
migrator.go
} type Index interface { Table() string Name() string Columns() []string PrimaryKey() (isPrimaryKey bool, ok bool) Unique() (unique bool, ok bool) Option() string } // TableType table type interface type TableType interface { Schema() string Name() string Type() string Comment() (comment string, ok bool) } // Migrator migrator interface type Migrator interface { // AutoMigrateCreated: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Oct 30 09:15:49 GMT 2023 - 3.1K bytes - Click Count (0) -
migrator/migrator.go
} // GetTypeAliases return database type aliases func (m Migrator) GetTypeAliases(databaseTypeName string) []string { return nil } // TableType return tableType gorm.TableType and execErr error func (m Migrator) TableType(dst interface{}) (gorm.TableType, error) { return nil, errors.New("not support")
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun Oct 26 12:31:09 GMT 2025 - 29.7K bytes - Click Count (0) -
tests/migrate_test.go
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Wed Aug 20 04:51:17 GMT 2025 - 65.2K bytes - Click Count (0)