Sha256: 419c6efe85358867c55f803731b9c49773ff50d2b367815f7a96ff46fdcafe3e

Contents?: true

Size: 367 Bytes

Versions: 1

Compression:

Stored size: 367 Bytes

Contents

module Github
  module Archive
    module DestroyArchive
      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
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
github-archive-0.0.1 lib/github/archive/destroy_archive.rb