Files
fizzy/app/models/account.rb
T
2024-11-27 18:59:15 -06:00

16 lines
362 B
Ruby

class Account < ApplicationRecord
include Joinable
has_many :buckets, dependent: :destroy
has_many :bubbles, through: :buckets
has_many :users, dependent: :destroy
has_many :workflows, dependent: :destroy
has_many :stages, through: :workflows, class_name: "Workflow::Stage"
has_many :tags, dependent: :destroy
has_many_attached :uploads
end