Store role_id as an integer instead of a string

This commit is contained in:
darmock
2013-05-10 03:30:54 -04:00
parent 8f988b2cf1
commit f34def2c09
2 changed files with 2 additions and 1 deletions
@@ -3,6 +3,7 @@ class AlterUserRoles < ActiveRecord::Migration
rename_table :user_roles, :user_role_joins
change_table :user_role_joins do |t|
t.rename :role, :role_id
t.change :role_id, :integer
end
end
end