Project and Task models
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
class Project < ApplicationRecord
|
||||
validates :name, :code, presence: true
|
||||
|
||||
has_many :tasks
|
||||
|
||||
has_rich_text :description
|
||||
end
|
||||
Reference in New Issue
Block a user