diff options
author | DavisLWebb <davislwebb@ymail.com> | 2014-03-03 12:25:39 -0500 |
---|---|---|
committer | DavisLWebb <davislwebb@ymail.com> | 2014-03-03 12:25:39 -0500 |
commit | a1e8a399b99b9cd29a13b97495735a12c72968f8 (patch) | |
tree | be83758aeb4dc1da3d4a820edc6ae76ae3b4584b /db/migrate/20140304021039_create_game_attributes.rb | |
parent | b21c833a0974b79585d94e2afa4db980a5061123 (diff) | |
parent | b59aa7c21ae04a399639209717b980d731c5bf13 (diff) |
Merge branch 'master' of http://github.com/LukeShu/leaguer
Diffstat (limited to 'db/migrate/20140304021039_create_game_attributes.rb')
-rw-r--r-- | db/migrate/20140304021039_create_game_attributes.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/20140304021039_create_game_attributes.rb b/db/migrate/20140304021039_create_game_attributes.rb new file mode 100644 index 0000000..b63f134 --- /dev/null +++ b/db/migrate/20140304021039_create_game_attributes.rb @@ -0,0 +1,11 @@ +class CreateGameAttributes < ActiveRecord::Migration + def change + create_table :game_attributes do |t| + t.references :game, index: true + t.text :key + t.integer :type + + t.timestamps + end + end +end |