We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f27ab0 commit e57b273Copy full SHA for e57b273
app/models/expo_push_token.rb
@@ -2,6 +2,7 @@ class ExpoPushToken < ActiveRecord::Base
2
belongs_to :user
3
4
validates_presence_of :token
5
+ validates_uniqueness_of :token
6
validates_presence_of :user
7
end
8
0 commit comments