Documentation ¶
Index ¶
- type MySQL
- func (p *MySQL) AddColumn(t fizz.Table) (string, error)
- func (p *MySQL) AddIndex(t fizz.Table) (string, error)
- func (p *MySQL) ChangeColumn(t fizz.Table) (string, error)
- func (p *MySQL) CreateTable(t fizz.Table) (string, error)
- func (p *MySQL) DropColumn(t fizz.Table) (string, error)
- func (p *MySQL) DropIndex(t fizz.Table) (string, error)
- func (p *MySQL) DropTable(t fizz.Table) (string, error)
- func (p *MySQL) RenameColumn(t fizz.Table) (string, error)
- func (p *MySQL) RenameIndex(t fizz.Table) (string, error)
- func (p *MySQL) RenameTable(t []fizz.Table) (string, error)
- type Postgres
- func (p *Postgres) AddColumn(t fizz.Table) (string, error)
- func (p *Postgres) AddIndex(t fizz.Table) (string, error)
- func (p *Postgres) ChangeColumn(t fizz.Table) (string, error)
- func (p *Postgres) CreateTable(t fizz.Table) (string, error)
- func (p *Postgres) DropColumn(t fizz.Table) (string, error)
- func (p *Postgres) DropIndex(t fizz.Table) (string, error)
- func (p *Postgres) DropTable(t fizz.Table) (string, error)
- func (p *Postgres) RenameColumn(t fizz.Table) (string, error)
- func (p *Postgres) RenameIndex(t fizz.Table) (string, error)
- func (p *Postgres) RenameTable(t []fizz.Table) (string, error)
- type SQLite
- func (p *SQLite) AddColumn(t fizz.Table) (string, error)
- func (p *SQLite) AddIndex(t fizz.Table) (string, error)
- func (p *SQLite) ChangeColumn(t fizz.Table) (string, error)
- func (p *SQLite) CreateTable(t fizz.Table) (string, error)
- func (p *SQLite) DropColumn(t fizz.Table) (string, error)
- func (p *SQLite) DropIndex(t fizz.Table) (string, error)
- func (p *SQLite) DropTable(t fizz.Table) (string, error)
- func (p *SQLite) RenameColumn(t fizz.Table) (string, error)
- func (p *SQLite) RenameIndex(t fizz.Table) (string, error)
- func (p *SQLite) RenameTable(t []fizz.Table) (string, error)
- type Schema
- type SchemaQuery
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MySQL ¶
type MySQL struct {
Schema SchemaQuery
}
type SQLite ¶
type SQLite struct {
Schema SchemaQuery
}
type Schema ¶
type Schema struct { Builder SchemaQuery Name string URL string // contains filtered or unexported fields }
func CreateSchema ¶
func (*Schema) ColumnInfo ¶
Click to show internal directories.
Click to hide internal directories.