2024-04-29 00:17:15 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2022-07-21 13:17:47 +02:00
|
|
|
class AddManagerToAssignTos < ActiveRecord::Migration[6.1]
|
2022-07-21 13:44:21 +02:00
|
|
|
def up
|
2022-07-21 13:17:47 +02:00
|
|
|
add_column :assign_tos, :manager, :boolean
|
2022-07-21 13:44:21 +02:00
|
|
|
change_column_default :assign_tos, :manager, false
|
|
|
|
end
|
|
|
|
|
|
|
|
def down
|
|
|
|
remove_column :assign_tos, :manager
|
2022-07-21 13:17:47 +02:00
|
|
|
end
|
|
|
|
end
|