From ef22599880973aae8464bacb82e3a04d6277bc43 Mon Sep 17 00:00:00 2001 From: shumakl Date: Thu, 3 Apr 2014 11:19:10 -0400 Subject: Move things around between users and sessions --- db/migrate/20140403151808_create_tournament_preferences.rb | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 db/migrate/20140403151808_create_tournament_preferences.rb (limited to 'db/migrate/20140403151808_create_tournament_preferences.rb') diff --git a/db/migrate/20140403151808_create_tournament_preferences.rb b/db/migrate/20140403151808_create_tournament_preferences.rb new file mode 100644 index 0000000..991d659 --- /dev/null +++ b/db/migrate/20140403151808_create_tournament_preferences.rb @@ -0,0 +1,12 @@ +class CreateTournamentPreferences < ActiveRecord::Migration + def change + create_table :tournament_preferences do |t| + t.references :tournament, index: true + t.integer :vartype + t.string :name + t.text :value + + t.timestamps + end + end +end -- cgit v1.2.3