mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-04-05 07:19:14 +00:00
15 lines
306 B
Ruby
15 lines
306 B
Ruby
class DropTrackersTable < ActiveRecord::Migration[4.2]
|
|
def up
|
|
drop_table :spree_trackers
|
|
end
|
|
|
|
def down
|
|
create_table :spree_trackers do |t|
|
|
t.string :environment
|
|
t.string :analytics_id
|
|
t.boolean :active, :default => true
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|