crowdAI/crowdai

View on GitHub
doc/technical/archived_migrations/20160314154557_remove_datasets.rb

Summary

Maintainability
A
0 mins
Test Coverage
class RemoveDatasets < ActiveRecord::Migration
  def change
    drop_table 'datasets' if ActiveRecord::Base.connection.table_exists? 'datasets'
    drop_table 'file_attachements' if ActiveRecord::Base.connection.table_exists? 'file_attachements'
  end    
end