Initial open-source release

This commit is contained in:
Andrey Avtomonov 2026-05-10 23:12:26 +02:00
commit 1a42152e6f
1199 changed files with 257054 additions and 0 deletions

View file

@ -0,0 +1,36 @@
name: activities
table: activities
grain:
- activity_id
columns:
- name: activity_id
type: number
- name: account_id
type: number
- name: activity_date
type: time
role: time
- name: activity_type
type: string
- name: channel
type: string
- name: direction
type: string
- name: duration_minutes
type: number
- name: opportunity_id
type: number
- name: rep_id
type: number
- name: subject
type: string
joins:
- to: accounts
'on': account_id = accounts.account_id
relationship: many_to_one
- to: opportunities
'on': opportunity_id = opportunities.opportunity_id
relationship: many_to_one
- to: sales_reps
'on': rep_id = sales_reps.rep_id
relationship: many_to_one