diff options
author | Tomer Kimia <tkimia@purdue.edu> | 2014-03-01 22:53:08 -0500 |
---|---|---|
committer | Tomer Kimia <tkimia@purdue.edu> | 2014-03-01 22:53:08 -0500 |
commit | 4dcb9de406dd032ecb37109402c4475d96d2a05a (patch) | |
tree | 1474b016b068fd2c0ff0bb5c5670eb143b09da4f /db/migrate/20140304015804_create_game_attributes.rb | |
parent | 11be92e4bac671852fd03922049ca592ae4c9f4e (diff) |
quick and dirty css
Diffstat (limited to 'db/migrate/20140304015804_create_game_attributes.rb')
-rw-r--r-- | db/migrate/20140304015804_create_game_attributes.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/20140304015804_create_game_attributes.rb b/db/migrate/20140304015804_create_game_attributes.rb new file mode 100644 index 0000000..b63f134 --- /dev/null +++ b/db/migrate/20140304015804_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 |