summaryrefslogtreecommitdiff
path: root/db/migrate/20140422061657_create_game_settings.rb
blob: 06fb72e1c4339ba8d9cc8b60432e89ca554b02e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class CreateGameSettings < ActiveRecord::Migration
  def change
    create_table :game_settings do |t|
      t.references :game, index: true
      t.string :name
      t.integer :vartype
      t.text :type_opt
      t.text :description
      t.integer :display_order
      t.text :default

      t.timestamps
    end
  end
end