view db/migrate/20120826182012_change_column_name_to_conform_ar.rb @ 305:4f7fb63f0537

db:setup for test.
author edogawaconan <me@myconan.net>
date Wed, 19 Feb 2014 13:15:02 +0900
parents 42de15334db1
children 682abad78313
line wrap: on
line source

class ChangeColumnNameToConformAr < ActiveRecord::Migration
  def change
    rename_column :pastes, :hash, :paste_hash
  end
end