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