trabajo-afectivo/db/migrate/20180709020509_add_group_direction_to_overviews.rb

11 lines
334 B
Ruby
Raw Normal View History

2022-01-01 13:38:12 +00:00
# Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
class AddGroupDirectionToOverviews < ActiveRecord::Migration[5.1]
def change
# return if it's a new setup
return if !Setting.exists?(name: 'system_init_done')
add_column :overviews, :group_direction, :string, limit: 250, null: true
end
end