Project and Task models

This commit is contained in:
2025-06-21 23:46:15 +03:00
parent bc9896d074
commit ab477cb37c
5 changed files with 58 additions and 1 deletions
+7
View File
@@ -0,0 +1,7 @@
class Project < ApplicationRecord
validates :name, :code, presence: true
has_many :tasks
has_rich_text :description
end