comparison db/migrate/20130201150322_add_key_to_paste.rb @ 333:682abad78313

Documentation and line length.
author edogawaconan <me@myconan.net>
date Mon, 14 Apr 2014 17:32:12 +0900
parents a9dba6a3008b
children 4608d12ebe03
comparison
equal deleted inserted replaced
332:a999250e57c4 333:682abad78313
1 # For deletion.
1 class AddKeyToPaste < ActiveRecord::Migration 2 class AddKeyToPaste < ActiveRecord::Migration
2 def change 3 def change
3 add_column :pastes, :key, :string 4 add_column :pastes, :key, :string
4 end 5 end
5 end 6 end