mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Document IrreversibleMigration.
This commit is contained in:
parent
bae00bb1cc
commit
acd5395877
1 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,8 @@
|
|||
require 'active_support/core_ext/object/metaclass'
|
||||
|
||||
module ActiveRecord
|
||||
class IrreversibleMigration < ActiveRecordError#:nodoc:
|
||||
# Exception that can be raised to stop migrations from going backwards.
|
||||
class IrreversibleMigration < ActiveRecordError
|
||||
end
|
||||
|
||||
class DuplicateMigrationVersionError < ActiveRecordError#:nodoc:
|
||||
|
|
Loading…
Reference in a new issue