foodsoft/db/migrate/20181205000000_add_user_to_task.rb
2020-04-11 00:04:49 +02:00

11 lines
231 B
Ruby

class AddUserToTask < ActiveRecord::Migration
def change
add_column :tasks, :created_by_user_id, :integer
reversible do |dir|
dir.up do
change_column :tasks, :description, :text
end
end
end
end