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

10 lines
333 B
Ruby

# Copyright (C) 2012-2021 Zammad Foundation, http://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