Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SqlDump ¶
type SqlDump []*Table
func NewSqlDump ¶
func (SqlDump) Compare ¶
func (dump SqlDump) Compare(oldDump SqlDump) []*TableChanges
type Table ¶
type Table struct {
// contains filtered or unexported fields
}
func NewTable ¶
func NewTable(create *sqlparser.CreateTable) *Table
func (*Table) Compare ¶
func (table *Table) Compare(oldTable *Table) *TableChanges
type TableChanges ¶
type TableChanges struct {
// contains filtered or unexported fields
}
func (*TableChanges) IsEmpty ¶
func (tc *TableChanges) IsEmpty() bool
func (*TableChanges) Write ¶
func (tc *TableChanges) Write(file *os.File)
type TableUpdate ¶
type TableUpdate struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.