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