0
def self.down
# By default, we don't want to make any assumption about how to roll back a migration when your
# model already existed. Please edit below which fields you would like to remove in this migration.
raise ActiveRecord::IrreversibleMigration
end
我在色器件的迁移有这个,现在我已经rollbacked迁移..我得到了如何扭转不可逆转的迁移
`StandardError: An error has occurred, this and all later migrations canceled:
ActiveRecord::IrreversibleMigration`
错误现在,我无法访问模型,甚至耙后DB:迁移。如何使这项工作再次?