class RmDeprecatedSolutionFieldsFromSubmission < ActiveRecord::Migration
  def up
    remove_column :submissions, :code
    remove_column :submissions, :filename
  end

  def down
    add_column :submissions, :code, :text
    add_column :submissions, :filename, :string
  end
end

Delete deprecated fields from submission
Delete deprecated fields from submission
