Documentation ¶
Index ¶
- Constants
- func AddColumnsDown(ctx context.Context, l *logrus.Entry, tx bun.Tx, columns ColumnList) error
- func AddColumnsUp(ctx context.Context, l *logrus.Entry, tx bun.Tx, columns ColumnList) error
- func AddIndexesDown(ctx context.Context, l *logrus.Entry, tx bun.Tx, indexes IndexList) error
- func AddIndexesUp(ctx context.Context, l *logrus.Entry, tx bun.Tx, indexes IndexList) error
- func AddTablesDown(ctx context.Context, l *logrus.Entry, tx bun.Tx, tables TableList) error
- func AddTablesUp(ctx context.Context, l *logrus.Entry, tx bun.Tx, tables TableList) error
- type Column
- type ColumnList
- type Index
- type IndexList
- type Table
- type TableList
Constants ¶
View Source
const ( CreatingColumn = "creating column '%s' in Table `%s`" CreatingColumnErr = "can't create column '%s' in Table `%s`: %s" DroppingColumn = "dropping column '%s' in Table `%s`" DroppingColumnErr = "can't drop column '%s' in Table `%s`: %s" CreatingIndex = "creating index '%s' in Table `%s`" CreatingIndexErr = "can't create index '%s' in Table `%s`: %s" DroppingIndex = "dropping index '%s' in Table `%s`" DroppingIndexErr = "can't drop index '%s' in Table `%s`: %s" CreatingTable = "creating Table '%s'" CreatingTableErr = "can't create Table '%s': %s" DroppingTable = "dropping Table '%s'" DroppingTableErr = "can't drop Table '%s': %s" )
Variables ¶
This section is empty.
Functions ¶
func AddColumnsDown ¶
func AddColumnsUp ¶
func AddIndexesDown ¶
func AddIndexesUp ¶
func AddTablesDown ¶
Types ¶
type ColumnList ¶
type ColumnList []Column
Click to show internal directories.
Click to hide internal directories.