From e08e007a6c50e1959a29a9d18dec8c52146a233c Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 28 Apr 2014 09:33:06 -0400 Subject: run ./generate.sh --- db/migrate/20140428133136_add_hidden_attrs_to_user.rb | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 db/migrate/20140428133136_add_hidden_attrs_to_user.rb (limited to 'db/migrate/20140428133136_add_hidden_attrs_to_user.rb') diff --git a/db/migrate/20140428133136_add_hidden_attrs_to_user.rb b/db/migrate/20140428133136_add_hidden_attrs_to_user.rb new file mode 100644 index 0000000..9b5c505 --- /dev/null +++ b/db/migrate/20140428133136_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