class ActiveRecord::InvertibleMigrationTest::RevertNamedIndexMigration1
Public Instance Methods
change()
click to toggle source
# File activerecord/test/cases/invertible_migration_test.rb, line 141 def change create_table("horses") do |t| t.column :content, :string t.column :remind_at, :datetime end add_index :horses, :content end