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

You need to sign in or sign up before continuing.
Commit 7e3e7407 by sdepold

migration methods are now getting migration as first argument

1 parent 60a43179
module.exports = {
up: function(Interface, DataTypes) {
Interface.createTable('Person', {
up: function(migration, DataTypes) {
migration.createTable('Person', {
name: DataTypes.STRING
})
},
down: function(Interface) {
Interface.dropTable('Person')
down: function(migration) {
migration.dropTable('Person')
}
}
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!