Module: Github::Archive::DestroyArchive
- Defined in:
- lib/github/archive/destroy_archive.rb
Class Method Summary collapse
Class Method Details
.do ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/github/archive/destroy_archive.rb', line 4 def self.do ActiveRecord::Schema.define do unless !Github::Archive::Event.table_exists? drop_table :events end unless !Github::Archive::ArchivedUrl.table_exists? drop_table :archived_urls end end end |