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
Raw Normal View History

2023-01-16 17:37:44 +01:00
# frozen_string_literal: true
# Set statuses for projects (new, pending, done...)
class Status < ApplicationRecord
validates :name, presence: true
has_many :projects, dependent: :nullify
2023-01-16 17:37:44 +01:00
end