add with_credentials to datasource model

This commit is contained in:
Mitsuhiro Tanda
2015-12-09 14:44:28 +09:00
parent f1bc87133d
commit 6edd6c8f03
7 changed files with 19 additions and 0 deletions
@@ -64,6 +64,10 @@ type AddColumnMigration struct {
column *Column
}
func NewAddColumnMigration(table Table, col *Column) *AddColumnMigration {
return &AddColumnMigration{tableName: table.Name, column: col}
}
func (m *AddColumnMigration) Table(tableName string) *AddColumnMigration {
m.tableName = tableName
return m