From 433fc302fe2943e89a36657affea39d578475d20 Mon Sep 17 00:00:00 2001 From: guntasgrewal Date: Tue, 25 Mar 2014 17:47:32 -0400 Subject: Match Status added --- db/migrate/20140325214602_add_hidden_attrs_to_user.rb | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 db/migrate/20140325214602_add_hidden_attrs_to_user.rb (limited to 'db/migrate/20140325214602_add_hidden_attrs_to_user.rb') diff --git a/db/migrate/20140325214602_add_hidden_attrs_to_user.rb b/db/migrate/20140325214602_add_hidden_attrs_to_user.rb new file mode 100644 index 0000000..2f1b0b2 --- /dev/null +++ b/db/migrate/20140325214602_add_hidden_attrs_to_user.rb @@ -0,0 +1,8 @@ +class AddHiddenAttrsToUser < ActiveRecord::Migration + def change + add_column :users, :password_digest, :string + add_column :users, :remember_token, :string + add_index :users, :remember_token, unique: true + add_column :users, :groups, :integer + end +end -- cgit v1.2.3-2-g168b