crowdAI/crowdai

View on GitHub
doc/technical/archived_migrations/20171103140955_create_challenge_registrations.rb

Summary

Maintainability
A
25 mins
Test Coverage
class CreateChallengeRegistrations < ActiveRecord::Migration[5.1]
  def change
    create_table :challenge_registrations do |t|
      t.references :challenge, foreign_key: true
      t.references :participant, foreign_key: true
      t.string :status_cd
      t.string :eua_file
      t.string :reject_message

      t.timestamps
    end
  end
end