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

You need to sign in or sign up before continuing.
20111206063000-changeSignatureColumnOfUserToMendatory.js 251 Bytes
module.exports = {
  up: function(migration, DataTypes) {
    migration.changeColumn('User', 'signature', {
      type: DataTypes.STRING,
      allowNull: false,
      defaultValue: 'Signature'
    })
  },

  down: function(migration, DataTypes) {}
}