Tasks creation (mostly)

This commit is contained in:
2026-03-21 14:48:27 +02:00
parent dbd849589b
commit fb9d884313
15 changed files with 81 additions and 37 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ class Workflow < ApplicationRecord
belongs_to :project
has_many :tasks, dependent: :restrict_with_exception
has_mnay :statuses, dependent: :restrict_with_error
has_many :statuses, dependent: :restrict_with_error
enum :icon, { task: 'task', warning: 'warning' }, default: 'task', scopes: false
enum :color, { blue: 'blue', gray: 'gray', yellow: 'yellow', red: 'red' }, default: 'gray', scopes: false