Sha256: f503649fff3408992ef806b495ccdb6b582a89375ab831a8d97660939d4578e3

Contents?: true

Size: 228 Bytes

Versions: 5

Compression:

Stored size: 228 Bytes

Contents

class CreateUserTeams < ActiveRecord::Migration[5.0]
  def change
    create_table :user_teams do |t|
      t.references :user, foreign_key: true
      t.references :team, foreign_key: true

      t.timestamps
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
jobs-api-0.2.1 db/migrate/20161109204011_create_user_teams.rb
jobs-api-0.2.0 db/migrate/20161109204011_create_user_teams.rb
jobs-api-0.1.2 db/migrate/20161109204011_create_user_teams.rb
jobs-api-0.1.1 db/migrate/20161109204011_create_user_teams.rb
jobs-api-0.1.0 db/migrate/20161109204011_create_user_teams.rb