mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 03:58:27 +02:00
parent
40c12380ee
commit
4ec4e50334
2 changed files with 15 additions and 1 deletions
|
@ -2,5 +2,5 @@ class EppSession < ActiveRecord::Base
|
|||
belongs_to :user, required: true
|
||||
belongs_to :registrar
|
||||
|
||||
validates :session_id, presence: true
|
||||
validates :session_id, uniqueness: true, presence: true
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue