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/20140403151832_add_hidden_attrs_to_user.rb | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 db/migrate/20140403151832_add_hidden_attrs_to_user.rb (limited to 'db/migrate/20140403151832_add_hidden_attrs_to_user.rb') diff --git a/db/migrate/20140403151832_add_hidden_attrs_to_user.rb b/db/migrate/20140403151832_add_hidden_attrs_to_user.rb new file mode 100644 index 0000000..9b5c505 --- /dev/null +++ b/db/migrate/20140403151832_add_hidden_attrs_to_user.rb @@ -0,0 +1,6 @@ +class AddHiddenAttrsToUser < ActiveRecord::Migration + def change + add_column :users, :password_digest, :string + add_column :users, :permissions, :integer + end +end -- cgit v1.2.3-2-g168b