Documentation ¶
Index ¶
- type Parser
- func (p *Parser) ColumnFilledBefore(f migrate.File, t *schema.Table, c *schema.Column, pos int) (bool, error)
- func (p *Parser) CreateViewAfter(f migrate.File, old, new string, pos int) (bool, error)
- func (p *Parser) FixChange(_ migrate.Driver, s string, changes schema.Changes) (schema.Changes, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶ added in v0.7.1
type Parser struct{}
Parser implements the sqlparse.Parser
func (*Parser) ColumnFilledBefore ¶ added in v0.7.1
func (p *Parser) ColumnFilledBefore(f migrate.File, t *schema.Table, c *schema.Column, pos int) (bool, error)
ColumnFilledBefore checks if the column was filled before the given position.
func (*Parser) CreateViewAfter ¶ added in v0.10.0
CreateViewAfter checks if a view was created after the position with the given name to a table.
Click to show internal directories.
Click to hide internal directories.