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
|
2020-08-03 08:35:43 +00:00
|
|
|
return if !Setting.exists?(name: 'system_init_done')
|
2017-04-25 14:06:23 +00:00
|
|
|
|
|
|
|
add_column :ticket_articles, :origin_by_id, :integer
|
|
|
|
end
|
|
|
|
end
|