kaiho/app/models/software.rb
2018-08-05 12:37:35 +02:00

4 lines
112 B
Ruby

class Software < ApplicationRecord
has_many :branches
validates :name, presence: true, uniqueness: true
end