view db/migrate/20120826182012_change_column_name_to_conform_ar.rb @ 304:602196221350

Welcome to rails 4.1.
author edogawaconan <me@myconan.net>
date Wed, 19 Feb 2014 13:11:12 +0900
parents 42de15334db1
children 682abad78313
line wrap: on
line source

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