HEX
Server: Apache
System: Windows NT MAGNETO-ARM 10.0 build 22000 (Windows 10) AMD64
User: Michel (0)
PHP: 7.4.7
Disabled: NONE
Upload Files
File: C:/Ruby27-x64/lib/ruby/gems/2.7.0/doc/activerecord-7.0.4.2/ri/ActiveRecord/Migration/revert-i.ri
U:RDoc::AnyMethod[iI"revert:ETI"#ActiveRecord::Migration#revert;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"=Reverses the migration commands for the given block and ;TI"the given migrations.;To:RDoc::Markup::BlankLineo;
;	[I"<The following migration will remove the table 'horses' ;TI"Band create the table 'apples' on the way up, and the reverse ;TI"on the way down.;T@o:RDoc::Markup::Verbatim;	[I"9class FixTLMigration < ActiveRecord::Migration[7.0]
;TI"  def change
;TI"    revert do
;TI"(      create_table(:horses) do |t|
;TI"        t.text :content
;TI"#        t.datetime :remind_at
;TI"      end
;TI"
    end
;TI"&    create_table(:apples) do |t|
;TI"      t.string :variety
;TI"
    end
;TI"  end
;TI"	end
;T:@format0o;
;	[I"DOr equivalently, if +TenderloveMigration+ is defined as in the ;TI"!documentation for Migration:;T@o;;	[I"<require_relative "20121212123456_tenderlove_migration"
;TI"
;TI";class FixupTLMigration < ActiveRecord::Migration[7.0]
;TI"  def change
;TI"$    revert TenderloveMigration
;TI"
;TI"&    create_table(:apples) do |t|
;TI"      t.string :variety
;TI"
    end
;TI"  end
;TI"	end
;T;
0o;
;	[I" This command can be nested.;T:
@fileI"#lib/active_record/migration.rb;T:0@omit_headings_from_table_of_contents_below000[I"!(*migration_classes, &block);T@8FI"Migration;TcRDoc::NormalClass00