Delete deprecated fields from submission
user
```ruby
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
```
assistant