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:遷移。如何使這項工作再次?