summaryrefslogtreecommitdiff
path: root/db/migrate/20140403155024_create_remote_usernames.rb
blob: b837e53ee308e9f1035b5e03d46fec317bc6921a (plain)
1
2
3
4
5
6
7
8
9
10
11
class CreateRemoteUsernames < ActiveRecord::Migration
  def change
    create_table :remote_usernames do |t|
      t.references :game, index: true
      t.references :user, index: true
      t.string :user_name

      t.timestamps
    end
  end
end