不要怂,就是干,撸起袖子干!

Commit 7e3e7407 by sdepold

migration methods are now getting migration as first argument

1 parent 60a43179
module.exports = { module.exports = {
up: function(Interface, DataTypes) { up: function(migration, DataTypes) {
Interface.createTable('Person', { migration.createTable('Person', {
name: DataTypes.STRING name: DataTypes.STRING
}) })
}, },
down: function(Interface) { down: function(migration) {
Interface.dropTable('Person') migration.dropTable('Person')
} }
} }
module.exports = { module.exports = {
up: function(interface, DataTypes) { up: function(migration, DataTypes) {
}, },
down: function(interface, DataTypes) { down: function(migration, DataTypes) {
} }
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!