summaryrefslogtreecommitdiff
path: root/db/migrate/20140407000054_create_remote_usernames.rb
diff options
context:
space:
mode:
authortkimia <tkimia@purdue.edu>2014-04-06 21:16:24 -0400
committertkimia <tkimia@purdue.edu>2014-04-06 21:16:24 -0400
commit0afd45939facfc9bdbc7481e649af0ab89b7b029 (patch)
tree435229467dd4adfd0612d081cce8ef75b6a4644b /db/migrate/20140407000054_create_remote_usernames.rb
parent0f982ba511d4f38322f69a6aaed768181b4e2852 (diff)
parentf06e7769ec201f17adc87251da63075a86ce1a94 (diff)
Merge branch 'master' of https://github.com/LukeShu/leaguer
Conflicts: app/assets/stylesheets/matches.css.scss
Diffstat (limited to 'db/migrate/20140407000054_create_remote_usernames.rb')
-rw-r--r--db/migrate/20140407000054_create_remote_usernames.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/20140407000054_create_remote_usernames.rb b/db/migrate/20140407000054_create_remote_usernames.rb
new file mode 100644
index 0000000..e265985
--- /dev/null
+++ b/db/migrate/20140407000054_create_remote_usernames.rb
@@ -0,0 +1,11 @@
+class CreateRemoteUsernames < ActiveRecord::Migration
+ def change
+ create_table :remote_usernames do |t|
+ t.references :game, index: true
+ t.references :user, index: true
+ t.text :json_value
+
+ t.timestamps
+ end
+ end
+end