tabletop-companion/app/models/game_system.rb

8 lines
188 B
Ruby
Raw Normal View History

2024-05-26 10:45:10 +00:00
# frozen_string_literal: true
2024-05-26 08:51:31 +00:00
class GameSystem < ApplicationRecord
2024-05-26 10:42:48 +00:00
validates :name, presence: true,
uniqueness: true,
length: { maximum: 100 }
2024-05-26 08:51:31 +00:00
end