class RemoveWikiTypeFromAssignment < ActiveRecord::Migration
  def self.up
    execute "alter table assignments drop foreign key `fk_assignments_wiki_types`;"
    remove_column :assignments,:wiki_type_id
    drop_table "wiki_types"
  end
end

Drop wiki_type_id from assignment and wiki_types table.
Drop wiki_type_id from assignment and wiki_types table.
