Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CREATED_COL = Column{Name: "created_at", ColType: "timestamp", Options: Options{}}
View Source
var Debug bool
View Source
var ID_COL = Column{ Name: "id", Primary: true, ColType: "integer", Options: Options{}, }
View Source
var UPDATED_COL = Column{Name: "updated_at", ColType: "timestamp", Options: Options{}}
Functions ¶
Types ¶
type BubbleType ¶
type BubbleType int
type Bubbler ¶
type Bubbler struct { Translator // contains filtered or unexported fields }
func NewBubbler ¶
func NewBubbler(t Translator) *Bubbler
type Translator ¶
type Translator interface { CreateTable(Table) (string, error) DropTable(Table) (string, error) RenameTable([]Table) (string, error) AddColumn(Table) (string, error) DropColumn(Table) (string, error) RenameColumn(Table) (string, error) AddIndex(Table) (string, error) DropIndex(Table) (string, error) RenameIndex(Table) (string, error) }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.