9 lines
257 B
Ruby
9 lines
257 B
Ruby
|
class AddGroupDirectionToOverviews < ActiveRecord::Migration[5.1]
|
||
|
def change
|
||
|
# return if it's a new setup
|
||
|
return if !Setting.find_by(name: 'system_init_done')
|
||
|
|
||
|
add_column :overviews, :group_direction, :string, limit: 250, null: true
|
||
|
end
|
||
|
end
|