Documentation
¶
Index ¶
Constants ¶
View Source
const ( DialectSQLite = "sqlite" DialectMySQL = "mysql" DialectPostgres = "postgres" DialectClickHouse = "clickhouse" )
Dialect constants identify supported SQL database dialects at composition time.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IndexDefinition ¶
type ModelIndexer ¶
type ModelIndexer interface {
DefineIndexes() []IndexDefinition
}
ModelIndexer is implemented by models that declare indexes for migration tooling.
Click to show internal directories.
Click to hide internal directories.