18F / naas-api

API for notifications service prototype
Other
1 stars 1 forks source link

Uniqueness constraint for User #16

Closed jontours closed 6 years ago

jontours commented 6 years ago

Addes database index for phone and email column, also adds constraint to ActiveRecord model.

Going to add a couple of request specs and then this is ready.

jontours commented 6 years ago

This is ready to go!

jontours commented 6 years ago

Took the liberty to merge that so I can tests going on next PR.