Versions in this module Expand all Collapse all v1 v1.0.1 Jun 29, 2018 v1.0.0 Jun 27, 2018 Changes in this version + var CREATED_COL = Column + var INT_ID_COL = Column + var UPDATED_COL = Column + var UUID_ID_COL = Column + func AFile(f *os.File, t Translator) (string, error) + func AString(s string, t Translator) (string, error) + type BubbleType int + type Bubbler struct + func NewBubbler(t Translator) *Bubbler + func (b *Bubbler) Bubble(s string) (string, error) + func (b *Bubbler) String() string + type Column struct + ColType string + Name string + Options map[string]interface{} + Primary bool + type ForeignKey struct + Column string + Name string + Options Options + References ForeignKeyRef + type ForeignKeyRef struct + Columns []string + Table string + type Index struct + Columns []string + Name string + Options Options + Unique bool + type Options map[string]interface + type Table struct + Columns []Column + ForeignKeys []ForeignKey + Indexes []Index + Name string + Options map[string]interface{} + func (t *Table) Column(name string, colType string, options Options) + func (t *Table) ColumnNames() []string + func (t *Table) DisableTimestamps() + func (t *Table) ForeignKey(column string, refs interface{}, options Options) error + func (t *Table) HasColumns(args ...string) bool + func (t *Table) Timestamp(name string) + func (t *Table) Timestamps() + type Translator interface + AddColumn func(Table) (string, error) + AddForeignKey func(Table) (string, error) + AddIndex func(Table) (string, error) + ChangeColumn func(Table) (string, error) + CreateTable func(Table) (string, error) + DropColumn func(Table) (string, error) + DropForeignKey func(Table) (string, error) + DropIndex func(Table) (string, error) + DropTable func(Table) (string, error) + RenameColumn func(Table) (string, error) + RenameIndex func(Table) (string, error) + RenameTable func([]Table) (string, error)