Versions in this module Expand all Collapse all v1 v1.0.11 Jul 11, 2021 Changes in this version + type Migration struct + func (m *Migration) Generate(input *parser.Parser, conf *config.Config) error + func (m *Migration) GetContent() string + func (m *Migration) Save() error + type PivotMigration struct + Config *config.Config + Tables []PivotMigrationEntry + func (p *PivotMigration) Generate() error + func (p *PivotMigration) Init(tables []PivotMigrationEntry, conf *config.Config) + type PivotMigrationEntry struct + TableOne string + TableTwo string + type Table struct + Columns []fizz.Column + ForeignKeys []fizz.ForeignKey + Indexes []fizz.Index + Name string + Options map[string]interface{} + func NewTable(name string, opts map[string]interface{}) Table + func (t *Table) Column(name string, colType string, options fizz.Options) error + func (t *Table) ForeignKey(column string, refs interface{}, options fizz.Options) error + func (t *Table) HasColumns(args ...string) bool + func (t *Table) PrimaryKey(pk ...string) error + func (t *Table) Timestamp(name string) error + func (t Table) Fizz() string + func (t Table) String() string + func (t Table) UnFizz() string v1.0.1 Jul 11, 2021