Moving to github

This commit is contained in:
2026-03-28 19:24:29 -04:00
commit 036fa7ab33
302 changed files with 17838 additions and 0 deletions

8
app/models/platform.rb Normal file
View File

@@ -0,0 +1,8 @@
class Platform < ApplicationRecord
# Associations
has_many :games, dependent: :restrict_with_error
has_many :items, dependent: :restrict_with_error
# Validations
validates :name, presence: true, uniqueness: { case_sensitive: false }
end