It's now possible to simply enter the url of the third party provider to enter a commercial.
11 lines
284 B
Ruby
11 lines
284 B
Ruby
class AddUrlToCommercial < ActiveRecord::Migration
|
|
class TempCommercial< ActiveRecord::Base
|
|
self.table_name = 'commercials'
|
|
end
|
|
|
|
def change
|
|
add_column :commercials, :url, :string
|
|
|
|
# Don't delete commercial_type and commercial_id for backward compatibility
|
|
end
|
|
end
|