20180709020509_add_group_direction_to_overviews.rb 257 B

12345678
  1. class AddGroupDirectionToOverviews < ActiveRecord::Migration[5.1]
  2. def change
  3. # return if it's a new setup
  4. return if !Setting.find_by(name: 'system_init_done')
  5. add_column :overviews, :group_direction, :string, limit: 250, null: true
  6. end
  7. end