1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-10 21:24:20 +01:00
fab-manager/app/models/status.rb

8 lines
196 B
Ruby

# frozen_string_literal: true
# Set statuses for projects (new, pending, done...)
class Status < ApplicationRecord
validates :name, presence: true
has_many :projects, dependent: :nullify
end