crowdAI/crowdai

View on GitHub
doc/technical/archived_migrations/20160208213945_create_team_users.rb

Summary

Maintainability
A
0 mins
Test Coverage
class CreateTeamUsers < ActiveRecord::Migration
  def change
    create_table :team_users do |t|
      t.references :team, index: true, foreign_key: true
      t.references :user, index: true, foreign_key: true
      t.date :from_date
      t.date :thru_date

      t.timestamps null: false
    end
  end
end