crowdAI/crowdai

View on GitHub
doc/technical/archived_migrations/20180820075739_add_submissions_downloadable_to_challenges.rb

Summary

Maintainability
A
0 mins
Test Coverage
class AddSubmissionsDownloadableToChallenges < ActiveRecord::Migration[5.2]
  def change
    add_column :challenges, :submissions_downloadable, :boolean, default: false
    execute "update challenges set submissions_downloadable = false;"
  end
end