Create user_permissions table.

this index doesn't seem to be in schema.rb, probably you just need to rerun the migration?