tabletop-companion/app/models/game_system.rb

8 lines
188 B
Ruby

# frozen_string_literal: true
class GameSystem < ApplicationRecord
validates :name, presence: true,
uniqueness: true,
length: { maximum: 100 }
end