chinwagsocial/db/migrate/20170205175257_remove_devices.rb

8 lines
156 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class RemoveDevices < ActiveRecord::Migration[5.0]
def change
2020-06-03 03:24:53 +10:00
drop_table :devices if table_exists?(:devices)
end
end