2017-09-08 08:28:34 +00:00
|
|
|
class AddOriginById < ActiveRecord::Migration[4.2]
|
2017-04-25 14:06:23 +00:00
|
|
|
def up
|
|
|
|
|
|
|
|
# return if it's a new setup
|
|
|
|
return if !Setting.find_by(name: 'system_init_done')
|
|
|
|
|
|
|
|
add_column :ticket_articles, :origin_by_id, :integer
|
|
|
|
end
|
|
|
|
end
|