This commit is contained in:
2025-05-15 03:01:22 +09:00
parent 4cf3fc4d8c
commit 2fb2daa3ff
3 changed files with 13 additions and 17 deletions
+7
View File
@@ -0,0 +1,7 @@
class UserIp < ApplicationRecord
belongs_to :user
belongs_to :ip_address
validates :user_id, presence: true
validates :ip_address_id, presence: true
end