mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Document IrreversibleMigration.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user