2024-04-29 00:17:15 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2022-06-22 15:32:35 +02:00
|
|
|
class AddOpendataToProcedures < ActiveRecord::Migration[6.1]
|
|
|
|
def up
|
|
|
|
add_column :procedures, :opendata, :boolean
|
|
|
|
change_column_default :procedures, :opendata, true
|
|
|
|
end
|
|
|
|
|
|
|
|
def down
|
|
|
|
remove_column :procedures, :opendata
|
|
|
|
end
|
|
|
|
end
|