2020-08-07 01:14:14 +02:00
|
|
|
class AddUserToTask < ActiveRecord::Migration[4.2]
|
2020-03-06 13:04:03 +01:00
|
|
|
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
|