6 lines
147 B
Ruby
6 lines
147 B
Ruby
|
class AddCookMethodToPosts < ActiveRecord::Migration
|
||
|
def change
|
||
|
add_column :posts, :cook_method, :integer, default: 1, null: false
|
||
|
end
|
||
|
end
|