tududi/app/models/project.rb
2023-11-13 11:47:56 +02:00

5 lines
132 B
Ruby

class Project < ActiveRecord::Base
belongs_to :user
belongs_to :area, optional: true
has_many :tasks, dependent: :destroy
end