activitypub-academy/db/migrate/20170205175257_remove_devices.rb

6 lines
125 B
Ruby
Raw Normal View History

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