-- Descriptive table comments (visible in the Supabase dashboard).
-- Also serves as a smoke-test for the `supabase db push` workflow.

comment on table public.organizations is
  'Tenant orgs. App data is scoped to "bowden-works".';

comment on table public.profiles is
  'Extends auth.users with full_name, is_super_admin, must_change_password.';

comment on table public.organization_members is
  'User-to-org membership and role (owner / manager / member).';

comment on table public.team_members is
  'Adi''s developer team and Adi himself. Reference table; no auth accounts.';

comment on table public.clockify_imports is
  'Each batch of Clockify CSV imports (or the initial backfill).';

comment on table public.time_entries is
  'One row per source entry with conversion + transfer state.';
