TaskStatus::Transition model

This commit is contained in:
2026-04-25 14:30:12 +03:00
parent b1038c0d66
commit bf78009df8
4 changed files with 36 additions and 1 deletions
+10
View File
@@ -0,0 +1,10 @@
# frozen_string_literal: true
class TaskStatus
class Transition < ApplicationRecord
self.table_name = 'task_status_transitions'
belongs_to :from, class_name: '::TaskStatus'
belongs_to :to, class_name: '::TaskStatus'
end
end