{
  "added_columns": [
    {
      "table": "ct.accounts",
      "column": "affiliate_id",
      "type": "BIGINT"
    },
    {
      "table": "ct.accounts",
      "column": "client_name",
      "type": "TEXT"
    },
    {
      "table": "ct.accounts",
      "column": "client_status",
      "type": "TEXT"
    },
    {
      "table": "ct.accounts",
      "column": "client_type",
      "type": "TEXT"
    },
    {
      "table": "ct.accounts",
      "column": "country",
      "type": "TEXT"
    },
    {
      "table": "ct.accounts",
      "column": "created_at",
      "type": "TIMESTAMPTZ"
    },
    {
      "table": "ct.accounts",
      "column": "relationship_manager_id",
      "type": "BIGINT"
    },
    {
      "table": "ct.accounts",
      "column": "salesperson_id",
      "type": "BIGINT"
    },
    {
      "table": "ct.accounts",
      "column": "source",
      "type": "TEXT"
    },
    {
      "table": "ct.accounts",
      "column": "stream",
      "type": "TEXT"
    },
    {
      "table": "ct.accounts",
      "column": "user_id",
      "type": "BIGINT"
    },
    {
      "table": "ct.accounts",
      "column": "utm_campaign",
      "type": "TEXT"
    },
    {
      "table": "ct.accounts",
      "column": "utm_content",
      "type": "TEXT"
    },
    {
      "table": "ct.accounts",
      "column": "utm_medium",
      "type": "TEXT"
    },
    {
      "table": "ct.accounts",
      "column": "utm_source_raw",
      "type": "TEXT"
    },
    {
      "table": "ct.accounts",
      "column": "utm_term",
      "type": "TEXT"
    },
    {
      "table": "ct.activation",
      "column": "activated_broker_account_count",
      "type": "INT"
    },
    {
      "table": "ct.activation",
      "column": "first_activated_at",
      "type": "DATE"
    },
    {
      "table": "ct.activation",
      "column": "user_id",
      "type": "BIGINT"
    },
    {
      "table": "ct.client_360",
      "column": "activated_broker_account_count",
      "type": "integer"
    },
    {
      "table": "ct.client_360",
      "column": "affiliate_id",
      "type": "bigint"
    },
    {
      "table": "ct.client_360",
      "column": "client_status",
      "type": "text"
    },
    {
      "table": "ct.client_360",
      "column": "client_type",
      "type": "text"
    },
    {
      "table": "ct.client_360",
      "column": "created_at",
      "type": "timestamp with time zone"
    },
    {
      "table": "ct.client_360",
      "column": "first_activated_at",
      "type": "date"
    },
    {
      "table": "ct.client_360",
      "column": "pd_activities_count",
      "type": "integer"
    },
    {
      "table": "ct.client_360",
      "column": "pd_done_activities_count",
      "type": "integer"
    },
    {
      "table": "ct.client_360",
      "column": "pd_email_messages_count",
      "type": "integer"
    },
    {
      "table": "ct.client_360",
      "column": "pd_last_activity_date",
      "type": "date"
    },
    {
      "table": "ct.client_360",
      "column": "pd_last_inbound_mail_at",
      "type": "timestamp with time zone"
    },
    {
      "table": "ct.client_360",
      "column": "pd_last_outbound_mail_at",
      "type": "timestamp with time zone"
    },
    {
      "table": "ct.client_360",
      "column": "pd_undone_activities_count",
      "type": "integer"
    },
    {
      "table": "ct.client_360",
      "column": "relationship_manager_id",
      "type": "bigint"
    },
    {
      "table": "ct.client_360",
      "column": "revenue_gbp_open",
      "type": "numeric"
    },
    {
      "table": "ct.client_360",
      "column": "revenue_gbp_settled",
      "type": "numeric"
    },
    {
      "table": "ct.client_360",
      "column": "revenue_gbp_ytd",
      "type": "numeric"
    },
    {
      "table": "ct.client_360",
      "column": "revenue_gbp_ytd_settled",
      "type": "numeric"
    },
    {
      "table": "ct.client_360",
      "column": "stream",
      "type": "text"
    },
    {
      "table": "ct.client_360",
      "column": "trade_count",
      "type": "bigint"
    },
    {
      "table": "ct.client_360",
      "column": "utm_campaign",
      "type": "text"
    },
    {
      "table": "ct.client_360",
      "column": "utm_content",
      "type": "text"
    },
    {
      "table": "ct.client_360",
      "column": "utm_medium",
      "type": "text"
    },
    {
      "table": "ct.client_360",
      "column": "utm_source_raw",
      "type": "text"
    },
    {
      "table": "ct.client_360",
      "column": "utm_term",
      "type": "text"
    },
    {
      "table": "ct.client_revenue",
      "column": "first_traded",
      "type": "DATE"
    },
    {
      "table": "ct.client_revenue",
      "column": "last_traded",
      "type": "DATE"
    },
    {
      "table": "ct.client_revenue",
      "column": "revenue_gbp_12mo",
      "type": "DECIMAL"
    },
    {
      "table": "ct.client_revenue",
      "column": "revenue_gbp_all",
      "type": "DECIMAL"
    },
    {
      "table": "ct.client_revenue",
      "column": "revenue_gbp_open",
      "type": "DECIMAL"
    },
    {
      "table": "ct.client_revenue",
      "column": "revenue_gbp_settled",
      "type": "DECIMAL"
    },
    {
      "table": "ct.client_revenue",
      "column": "revenue_gbp_ytd",
      "type": "DECIMAL"
    },
    {
      "table": "ct.client_revenue",
      "column": "revenue_gbp_ytd_settled",
      "type": "DECIMAL"
    },
    {
      "table": "ct.client_revenue",
      "column": "top_buy_currency",
      "type": "TEXT"
    },
    {
      "table": "ct.client_revenue",
      "column": "top_sell_currency",
      "type": "TEXT"
    },
    {
      "table": "ct.client_revenue",
      "column": "trade_count",
      "type": "BIGINT"
    },
    {
      "table": "ct.client_revenue",
      "column": "user_id",
      "type": "BIGINT"
    },
    {
      "table": "pipedrive.activities",
      "column": "add_time",
      "type": "TIMESTAMPTZ"
    },
    {
      "table": "pipedrive.activities",
      "column": "assigned_to_name",
      "type": "TEXT"
    },
    {
      "table": "pipedrive.activities",
      "column": "assigned_to_user_id",
      "type": "BIGINT"
    },
    {
      "table": "pipedrive.activities",
      "column": "due_date",
      "type": "DATE"
    },
    {
      "table": "pipedrive.activities",
      "column": "due_time",
      "type": "TEXT"
    },
    {
      "table": "pipedrive.activities",
      "column": "duration",
      "type": "TEXT"
    },
    {
      "table": "pipedrive.activities",
      "column": "note_text",
      "type": "TEXT"
    },
    {
      "table": "pipedrive.activities",
      "column": "org_id",
      "type": "BIGINT"
    },
    {
      "table": "pipedrive.activities",
      "column": "owner_name",
      "type": "TEXT"
    },
    {
      "table": "pipedrive.activities",
      "column": "update_time",
      "type": "TIMESTAMPTZ"
    },
    {
      "table": "pipedrive.activities",
      "column": "user_id",
      "type": "BIGINT"
    },
    {
      "table": "pipedrive.deals",
      "column": "archive_time",
      "type": "TIMESTAMPTZ"
    },
    {
      "table": "pipedrive.deals",
      "column": "cf_booking_platform",
      "type": "TEXT"
    },
    {
      "table": "pipedrive.deals",
      "column": "cf_conversion",
      "type": "TEXT[]"
    },
    {
      "table": "pipedrive.deals",
      "column": "cf_partner",
      "type": "TEXT"
    },
    {
      "table": "pipedrive.deals",
      "column": "cf_referrer",
      "type": "TEXT"
    },
    {
      "table": "pipedrive.deals",
      "column": "cf_silo",
      "type": "TEXT[]"
    },
    {
      "table": "pipedrive.deals",
      "column": "close_time",
      "type": "TIMESTAMPTZ"
    },
    {
      "table": "pipedrive.deals",
      "column": "crm_channel",
      "type": "TEXT"
    },
    {
      "table": "pipedrive.deals",
      "column": "days_in_stage",
      "type": "INT"
    },
    {
      "table": "pipedrive.deals",
      "column": "days_since_last_activity",
      "type": "INT"
    },
    {
      "table": "pipedrive.deals",
      "column": "deal_labels",
      "type": "TEXT[]"
    },
    {
      "table": "pipedrive.deals",
      "column": "done_activities_count",
      "type": "INT"
    },
    {
      "table": "pipedrive.deals",
      "column": "email_messages_count",
      "type": "INT"
    },
    {
      "table": "pipedrive.deals",
      "column": "expected_close_date",
      "type": "DATE"
    },
    {
      "table": "pipedrive.deals",
      "column": "is_archived",
      "type": "BOOLEAN"
    },
    {
      "table": "pipedrive.deals",
      "column": "last_activity_date",
      "type": "DATE"
    },
    {
      "table": "pipedrive.deals",
      "column": "last_incoming_mail_time",
      "type": "TIMESTAMPTZ"
    },
    {
      "table": "pipedrive.deals",
      "column": "last_outgoing_mail_time",
      "type": "TIMESTAMPTZ"
    },
    {
      "table": "pipedrive.deals",
      "column": "lost_reason",
      "type": "TEXT"
    },
    {
      "table": "pipedrive.deals",
      "column": "lost_reason_label",
      "type": "TEXT"
    },
    {
      "table": "pipedrive.deals",
      "column": "lost_time",
      "type": "TIMESTAMPTZ"
    },
    {
      "table": "pipedrive.deals",
      "column": "next_activity_date",
      "type": "DATE"
    },
    {
      "table": "pipedrive.deals",
      "column": "org_id",
      "type": "BIGINT"
    },
    {
      "table": "pipedrive.deals",
      "column": "owner_id",
      "type": "BIGINT"
    },
    {
      "table": "pipedrive.deals",
      "column": "owner_name",
      "type": "TEXT"
    },
    {
      "table": "pipedrive.deals",
      "column": "pipeline_id",
      "type": "BIGINT"
    },
    {
      "table": "pipedrive.deals",
      "column": "pipeline_name",
      "type": "TEXT"
    },
    {
      "table": "pipedrive.deals",
      "column": "sales_cycle_days",
      "type": "INT"
    },
    {
      "table": "pipedrive.deals",
      "column": "stage_change_time",
      "type": "TIMESTAMPTZ"
    },
    {
      "table": "pipedrive.deals",
      "column": "stage_id",
      "type": "BIGINT"
    },
    {
      "table": "pipedrive.deals",
      "column": "stage_name",
      "type": "TEXT"
    },
    {
      "table": "pipedrive.deals",
      "column": "status_label",
      "type": "TEXT"
    },
    {
      "table": "pipedrive.deals",
      "column": "undone_activities_count",
      "type": "INT"
    },
    {
      "table": "pipedrive.deals",
      "column": "update_time",
      "type": "TIMESTAMPTZ"
    },
    {
      "table": "pipedrive.deals",
      "column": "won_time",
      "type": "TIMESTAMPTZ"
    },
    {
      "table": "pipedrive.field_dict",
      "column": "entity",
      "type": "TEXT"
    },
    {
      "table": "pipedrive.field_dict",
      "column": "field_hash",
      "type": "TEXT"
    },
    {
      "table": "pipedrive.field_dict",
      "column": "field_label",
      "type": "TEXT"
    },
    {
      "table": "pipedrive.field_dict",
      "column": "field_type",
      "type": "TEXT"
    },
    {
      "table": "pipedrive.field_dict",
      "column": "is_custom",
      "type": "BOOLEAN"
    },
    {
      "table": "pipedrive.notes",
      "column": "active_flag",
      "type": "BOOLEAN"
    },
    {
      "table": "pipedrive.notes",
      "column": "author_name",
      "type": "TEXT"
    },
    {
      "table": "pipedrive.notes",
      "column": "author_user_id",
      "type": "BIGINT"
    },
    {
      "table": "pipedrive.notes",
      "column": "content_html",
      "type": "TEXT"
    },
    {
      "table": "pipedrive.notes",
      "column": "lead_id",
      "type": "TEXT"
    },
    {
      "table": "pipedrive.notes",
      "column": "org_id",
      "type": "BIGINT"
    },
    {
      "table": "pipedrive.notes",
      "column": "pinned_to_deal_flag",
      "type": "BOOLEAN"
    },
    {
      "table": "pipedrive.notes",
      "column": "pinned_to_organization_flag",
      "type": "BOOLEAN"
    },
    {
      "table": "pipedrive.notes",
      "column": "pinned_to_person_flag",
      "type": "BOOLEAN"
    },
    {
      "table": "pipedrive.notes",
      "column": "update_time",
      "type": "TIMESTAMPTZ"
    },
    {
      "table": "pipedrive.option_dict",
      "column": "entity",
      "type": "TEXT"
    },
    {
      "table": "pipedrive.option_dict",
      "column": "field_hash",
      "type": "TEXT"
    },
    {
      "table": "pipedrive.option_dict",
      "column": "option_id",
      "type": "TEXT"
    },
    {
      "table": "pipedrive.option_dict",
      "column": "option_label",
      "type": "TEXT"
    },
    {
      "table": "pipedrive.organizations",
      "column": "activities_count",
      "type": "INT"
    },
    {
      "table": "pipedrive.organizations",
      "column": "add_time",
      "type": "TIMESTAMPTZ"
    },
    {
      "table": "pipedrive.organizations",
      "column": "annual_revenue_band",
      "type": "TEXT"
    },
    {
      "table": "pipedrive.organizations",
      "column": "cf_booking_hedging_policy",
      "type": "TEXT[]"
    },
    {
      "table": "pipedrive.organizations",
      "column": "cf_client_type_tags",
      "type": "TEXT[]"
    },
    {
      "table": "pipedrive.organizations",
      "column": "cf_company_introducer",
      "type": "TEXT"
    },
    {
      "table": "pipedrive.organizations",
      "column": "cf_company_introducer_org_id",
      "type": "BIGINT"
    },
    {
      "table": "pipedrive.organizations",
      "column": "cf_erp",
      "type": "TEXT[]"
    },
    {
      "table": "pipedrive.organizations",
      "column": "cf_level_of_service",
      "type": "TEXT"
    },
    {
      "table": "pipedrive.organizations",
      "column": "cf_wallet_share",
      "type": "DECIMAL"
    },
    {
      "table": "pipedrive.organizations",
      "column": "closed_deals_count",
      "type": "INT"
    },
    {
      "table": "pipedrive.organizations",
      "column": "company_registration_number",
      "type": "TEXT"
    },
    {
      "table": "pipedrive.organizations",
      "column": "country_of_origin_freetext",
      "type": "TEXT"
    },
    {
      "table": "pipedrive.organizations",
      "column": "employee_count",
      "type": "INT"
    },
    {
      "table": "pipedrive.organizations",
      "column": "id",
      "type": "BIGINT"
    },
    {
      "table": "pipedrive.organizations",
      "column": "industry",
      "type": "TEXT"
    },
    {
      "table": "pipedrive.organizations",
      "column": "linkedin",
      "type": "TEXT"
    },
    {
      "table": "pipedrive.organizations",
      "column": "lost_deals_count",
      "type": "INT"
    },
    {
      "table": "pipedrive.organizations",
      "column": "name",
      "type": "TEXT"
    },
    {
      "table": "pipedrive.organizations",
      "column": "open_deals_count",
      "type": "INT"
    },
    {
      "table": "pipedrive.organizations",
      "column": "org_labels",
      "type": "TEXT[]"
    },
    {
      "table": "pipedrive.organizations",
      "column": "org_win_rate",
      "type": "DECIMAL"
    },
    {
      "table": "pipedrive.organizations",
      "column": "owner_id",
      "type": "BIGINT"
    },
    {
      "table": "pipedrive.organizations",
      "column": "owner_name",
      "type": "TEXT"
    },
    {
      "table": "pipedrive.organizations",
      "column": "people_count",
      "type": "INT"
    },
    {
      "table": "pipedrive.organizations",
      "column": "update_time",
      "type": "TIMESTAMPTZ"
    },
    {
      "table": "pipedrive.organizations",
      "column": "website",
      "type": "TEXT"
    },
    {
      "table": "pipedrive.organizations",
      "column": "won_deals_count",
      "type": "INT"
    },
    {
      "table": "pipedrive.persons",
      "column": "add_time",
      "type": "TIMESTAMPTZ"
    },
    {
      "table": "pipedrive.persons",
      "column": "ct_id",
      "type": "BIGINT"
    },
    {
      "table": "pipedrive.persons",
      "column": "id",
      "type": "BIGINT"
    },
    {
      "table": "pipedrive.persons",
      "column": "name",
      "type": "TEXT"
    },
    {
      "table": "pipedrive.persons",
      "column": "org_id",
      "type": "BIGINT"
    },
    {
      "table": "pipedrive.persons",
      "column": "owner_id",
      "type": "BIGINT"
    },
    {
      "table": "pipedrive.persons",
      "column": "update_time",
      "type": "TIMESTAMPTZ"
    },
    {
      "table": "pipedrive.persons_enriched",
      "column": "add_time",
      "type": "TIMESTAMPTZ"
    },
    {
      "table": "pipedrive.persons_enriched",
      "column": "org_id",
      "type": "BIGINT"
    },
    {
      "table": "pipedrive.persons_enriched",
      "column": "owner_id",
      "type": "BIGINT"
    },
    {
      "table": "pipedrive.persons_enriched",
      "column": "pd_contact_preferences",
      "type": "TEXT[]"
    },
    {
      "table": "pipedrive.persons_enriched",
      "column": "pd_done_activities_count",
      "type": "INT"
    },
    {
      "table": "pipedrive.persons_enriched",
      "column": "pd_email_messages_count",
      "type": "INT"
    },
    {
      "table": "pipedrive.persons_enriched",
      "column": "pd_is_ct_employee",
      "type": "BOOLEAN"
    },
    {
      "table": "pipedrive.persons_enriched",
      "column": "pd_last_inbound_mail_at",
      "type": "TIMESTAMPTZ"
    },
    {
      "table": "pipedrive.persons_enriched",
      "column": "pd_last_outbound_mail_at",
      "type": "TIMESTAMPTZ"
    },
    {
      "table": "pipedrive.persons_enriched",
      "column": "pd_lead_qualified_at",
      "type": "DATE"
    },
    {
      "table": "pipedrive.persons_enriched",
      "column": "pd_notes_count",
      "type": "INT"
    },
    {
      "table": "pipedrive.persons_enriched",
      "column": "pd_pipeline_status",
      "type": "TEXT[]"
    },
    {
      "table": "pipedrive.persons_enriched",
      "column": "pd_trade_frequency",
      "type": "TEXT[]"
    },
    {
      "table": "pipedrive.persons_enriched",
      "column": "pd_undone_activities_count",
      "type": "INT"
    },
    {
      "table": "pipedrive.persons_enriched",
      "column": "pd_whatsapp_phone",
      "type": "TEXT"
    },
    {
      "table": "pipedrive.persons_enriched",
      "column": "update_time",
      "type": "TIMESTAMPTZ"
    },
    {
      "table": "public.account_credentials",
      "column": "additional",
      "type": "jsonb"
    },
    {
      "table": "public.account_credentials",
      "column": "confirmation_sent_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.account_credentials",
      "column": "confirmation_token",
      "type": "character varying"
    },
    {
      "table": "public.account_credentials",
      "column": "confirmed_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.account_credentials",
      "column": "created_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.account_credentials",
      "column": "current_sign_in_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.account_credentials",
      "column": "current_sign_in_ip",
      "type": "character varying"
    },
    {
      "table": "public.account_credentials",
      "column": "email",
      "type": "character varying"
    },
    {
      "table": "public.account_credentials",
      "column": "encrypted_password",
      "type": "character varying"
    },
    {
      "table": "public.account_credentials",
      "column": "encrypted_recovery_codes",
      "type": "text"
    },
    {
      "table": "public.account_credentials",
      "column": "failed_attempts",
      "type": "integer"
    },
    {
      "table": "public.account_credentials",
      "column": "first_name",
      "type": "character varying"
    },
    {
      "table": "public.account_credentials",
      "column": "id",
      "type": "bigint"
    },
    {
      "table": "public.account_credentials",
      "column": "last_name",
      "type": "character varying"
    },
    {
      "table": "public.account_credentials",
      "column": "last_sign_in_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.account_credentials",
      "column": "last_sign_in_ip",
      "type": "character varying"
    },
    {
      "table": "public.account_credentials",
      "column": "locked_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.account_credentials",
      "column": "otp_enabled_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.account_credentials",
      "column": "otp_last_login",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.account_credentials",
      "column": "otp_reset_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.account_credentials",
      "column": "otp_reset_token",
      "type": "character varying"
    },
    {
      "table": "public.account_credentials",
      "column": "otp_secret_key",
      "type": "character varying"
    },
    {
      "table": "public.account_credentials",
      "column": "recovery_codes",
      "type": "character varying"
    },
    {
      "table": "public.account_credentials",
      "column": "recovery_codes_generated_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.account_credentials",
      "column": "remember_created_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.account_credentials",
      "column": "reset_password_sent_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.account_credentials",
      "column": "reset_password_token",
      "type": "character varying"
    },
    {
      "table": "public.account_credentials",
      "column": "sign_in_count",
      "type": "integer"
    },
    {
      "table": "public.account_credentials",
      "column": "skip_two_factor_auth",
      "type": "boolean"
    },
    {
      "table": "public.account_credentials",
      "column": "telephone",
      "type": "character varying"
    },
    {
      "table": "public.account_credentials",
      "column": "two_factor_auth_uuid",
      "type": "character varying"
    },
    {
      "table": "public.account_credentials",
      "column": "unconfirmed_email",
      "type": "character varying"
    },
    {
      "table": "public.account_credentials",
      "column": "unlock_token",
      "type": "character varying"
    },
    {
      "table": "public.account_credentials",
      "column": "updated_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.accounts",
      "column": "additional",
      "type": "json"
    },
    {
      "table": "public.accounts",
      "column": "affiliate_id",
      "type": "integer"
    },
    {
      "table": "public.accounts",
      "column": "api_key",
      "type": "character varying"
    },
    {
      "table": "public.accounts",
      "column": "broker_id",
      "type": "integer"
    },
    {
      "table": "public.accounts",
      "column": "campaign_id",
      "type": "integer"
    },
    {
      "table": "public.accounts",
      "column": "company_name",
      "type": "character varying"
    },
    {
      "table": "public.accounts",
      "column": "credentials_id",
      "type": "integer"
    },
    {
      "table": "public.accounts",
      "column": "current_sign_in_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.accounts",
      "column": "current_sign_in_ip",
      "type": "character varying"
    },
    {
      "table": "public.accounts",
      "column": "deleted_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.accounts",
      "column": "email",
      "type": "character varying"
    },
    {
      "table": "public.accounts",
      "column": "encrypted_api_key",
      "type": "character varying"
    },
    {
      "table": "public.accounts",
      "column": "first_name",
      "type": "character varying"
    },
    {
      "table": "public.accounts",
      "column": "internal_lead_id",
      "type": "integer"
    },
    {
      "table": "public.accounts",
      "column": "last_name",
      "type": "character varying"
    },
    {
      "table": "public.accounts",
      "column": "last_sign_in_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.accounts",
      "column": "last_sign_in_ip",
      "type": "character varying"
    },
    {
      "table": "public.accounts",
      "column": "latest_pipedrive_activity_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.accounts",
      "column": "latest_pipedrive_activity_id",
      "type": "integer"
    },
    {
      "table": "public.accounts",
      "column": "minimum_transfer_amount",
      "type": "integer"
    },
    {
      "table": "public.accounts",
      "column": "pipedrive_ids",
      "type": "json"
    },
    {
      "table": "public.accounts",
      "column": "platform",
      "type": "character varying"
    },
    {
      "table": "public.accounts",
      "column": "requested_delete_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.accounts",
      "column": "reward_beneficiary_id",
      "type": "integer"
    },
    {
      "table": "public.accounts",
      "column": "role",
      "type": "character varying"
    },
    {
      "table": "public.accounts",
      "column": "salesperson_id",
      "type": "integer"
    },
    {
      "table": "public.accounts",
      "column": "sign_in_count",
      "type": "integer"
    },
    {
      "table": "public.accounts",
      "column": "skip_commission_calculations",
      "type": "boolean"
    },
    {
      "table": "public.accounts",
      "column": "telephone",
      "type": "character varying"
    },
    {
      "table": "public.accounts",
      "column": "updated_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.accounts",
      "column": "uuid",
      "type": "character varying"
    },
    {
      "table": "public.admin_details",
      "column": "additional",
      "type": "json"
    },
    {
      "table": "public.admin_details",
      "column": "admin_id",
      "type": "integer"
    },
    {
      "table": "public.admin_details",
      "column": "corporate_commission",
      "type": "numeric(10,2)"
    },
    {
      "table": "public.admin_details",
      "column": "created_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.admin_details",
      "column": "id",
      "type": "integer"
    },
    {
      "table": "public.admin_details",
      "column": "mention_name",
      "type": "character varying"
    },
    {
      "table": "public.admin_details",
      "column": "personal_commission",
      "type": "numeric(10,2)"
    },
    {
      "table": "public.admin_details",
      "column": "position",
      "type": "character varying"
    },
    {
      "table": "public.admin_details",
      "column": "revenue_threshold",
      "type": "numeric(10,2)"
    },
    {
      "table": "public.admin_details",
      "column": "updated_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.affiliate_commission_statements",
      "column": "affiliate_id",
      "type": "integer"
    },
    {
      "table": "public.affiliate_commission_statements",
      "column": "conversion_currency",
      "type": "character varying"
    },
    {
      "table": "public.affiliate_commission_statements",
      "column": "conversion_rate",
      "type": "numeric"
    },
    {
      "table": "public.affiliate_commission_statements",
      "column": "created_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.affiliate_commission_statements",
      "column": "id",
      "type": "integer"
    },
    {
      "table": "public.affiliate_commission_statements",
      "column": "month",
      "type": "integer"
    },
    {
      "table": "public.affiliate_commission_statements",
      "column": "paid_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.affiliate_commission_statements",
      "column": "total_commission",
      "type": "numeric"
    },
    {
      "table": "public.affiliate_commission_statements",
      "column": "trade_ids",
      "type": "integer[]"
    },
    {
      "table": "public.affiliate_commission_statements",
      "column": "updated_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.affiliate_commission_statements",
      "column": "year",
      "type": "integer"
    },
    {
      "table": "public.affiliate_details",
      "column": "aba",
      "type": "character varying"
    },
    {
      "table": "public.affiliate_details",
      "column": "account_number",
      "type": "character varying"
    },
    {
      "table": "public.affiliate_details",
      "column": "acquisition_cost_corporate",
      "type": "numeric(10,2)"
    },
    {
      "table": "public.affiliate_details",
      "column": "acquisition_cost_personal",
      "type": "numeric(10,2)"
    },
    {
      "table": "public.affiliate_details",
      "column": "address",
      "type": "json"
    },
    {
      "table": "public.affiliate_details",
      "column": "affiliate_id",
      "type": "integer"
    },
    {
      "table": "public.affiliate_details",
      "column": "bank_account_country",
      "type": "character varying"
    },
    {
      "table": "public.affiliate_details",
      "column": "beneficiary_type",
      "type": "character varying"
    },
    {
      "table": "public.affiliate_details",
      "column": "bic_swift",
      "type": "character varying"
    },
    {
      "table": "public.affiliate_details",
      "column": "bsb",
      "type": "character varying"
    },
    {
      "table": "public.affiliate_details",
      "column": "commission_rate",
      "type": "numeric"
    },
    {
      "table": "public.affiliate_details",
      "column": "commission_rate_first_period",
      "type": "numeric"
    },
    {
      "table": "public.affiliate_details",
      "column": "commission_rate_second_period",
      "type": "numeric"
    },
    {
      "table": "public.affiliate_details",
      "column": "company_name",
      "type": "character varying"
    },
    {
      "table": "public.affiliate_details",
      "column": "currency",
      "type": "character varying"
    },
    {
      "table": "public.affiliate_details",
      "column": "first_name",
      "type": "character varying"
    },
    {
      "table": "public.affiliate_details",
      "column": "full_referral_info",
      "type": "boolean"
    },
    {
      "table": "public.affiliate_details",
      "column": "hide_from_reports",
      "type": "boolean"
    },
    {
      "table": "public.affiliate_details",
      "column": "iban",
      "type": "character varying"
    },
    {
      "table": "public.affiliate_details",
      "column": "id",
      "type": "integer"
    },
    {
      "table": "public.affiliate_details",
      "column": "invitation_message",
      "type": "text"
    },
    {
      "table": "public.affiliate_details",
      "column": "last_name",
      "type": "character varying"
    },
    {
      "table": "public.affiliate_details",
      "column": "manager_acquisition_cost_corporate",
      "type": "numeric(10,2)"
    },
    {
      "table": "public.affiliate_details",
      "column": "manager_acquisition_cost_personal",
      "type": "numeric(10,2)"
    },
    {
      "table": "public.affiliate_details",
      "column": "manager_commission_rate",
      "type": "numeric"
    },
    {
      "table": "public.affiliate_details",
      "column": "manager_commission_rate_first_period",
      "type": "numeric"
    },
    {
      "table": "public.affiliate_details",
      "column": "manager_commission_rate_second_period",
      "type": "numeric"
    },
    {
      "table": "public.affiliate_details",
      "column": "notification_settings",
      "type": "jsonb"
    },
    {
      "table": "public.affiliate_details",
      "column": "notify_on_trade",
      "type": "boolean"
    },
    {
      "table": "public.affiliate_details",
      "column": "referral_token",
      "type": "character varying"
    },
    {
      "table": "public.affiliate_details",
      "column": "sort_code",
      "type": "character varying"
    },
    {
      "table": "public.broker_accounts",
      "column": "additional",
      "type": "json"
    },
    {
      "table": "public.broker_accounts",
      "column": "api_key",
      "type": "character varying"
    },
    {
      "table": "public.broker_accounts",
      "column": "api_provider",
      "type": "character varying"
    },
    {
      "table": "public.broker_accounts",
      "column": "broker_id",
      "type": "integer"
    },
    {
      "table": "public.broker_accounts",
      "column": "created_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.broker_accounts",
      "column": "custom_commission",
      "type": "numeric"
    },
    {
      "table": "public.broker_accounts",
      "column": "deleted_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.broker_accounts",
      "column": "encrypted_api_key",
      "type": "character varying"
    },
    {
      "table": "public.broker_accounts",
      "column": "forward_enabled",
      "type": "boolean"
    },
    {
      "table": "public.broker_accounts",
      "column": "id",
      "type": "integer"
    },
    {
      "table": "public.broker_accounts",
      "column": "login_id",
      "type": "character varying"
    },
    {
      "table": "public.broker_accounts",
      "column": "max_sending_amount_in_gbp",
      "type": "numeric(15,2)"
    },
    {
      "table": "public.broker_accounts",
      "column": "min_sending_amount_in_gbp",
      "type": "numeric(15,2)"
    },
    {
      "table": "public.broker_accounts",
      "column": "notified_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.broker_accounts",
      "column": "owner",
      "type": "character varying"
    },
    {
      "table": "public.broker_accounts",
      "column": "preset_id",
      "type": "integer"
    },
    {
      "table": "public.broker_accounts",
      "column": "rejected_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.broker_accounts",
      "column": "renotified_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.broker_accounts",
      "column": "status",
      "type": "character varying"
    },
    {
      "table": "public.broker_accounts",
      "column": "updated_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.broker_accounts",
      "column": "user_id",
      "type": "integer"
    },
    {
      "table": "public.broker_accounts",
      "column": "uuid",
      "type": "character varying"
    },
    {
      "table": "public.broker_accounts",
      "column": "verified_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.brokers",
      "column": "address",
      "type": "json"
    },
    {
      "table": "public.brokers",
      "column": "allow_forward_trades",
      "type": "boolean"
    },
    {
      "table": "public.brokers",
      "column": "apis",
      "type": "character varying[]"
    },
    {
      "table": "public.brokers",
      "column": "chat_channel",
      "type": "character varying"
    },
    {
      "table": "public.brokers",
      "column": "chat_mention",
      "type": "character varying"
    },
    {
      "table": "public.brokers",
      "column": "code",
      "type": "character varying"
    },
    {
      "table": "public.brokers",
      "column": "created_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.brokers",
      "column": "credentials",
      "type": "json"
    },
    {
      "table": "public.brokers",
      "column": "deleted_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.brokers",
      "column": "disable_cover_price_edit",
      "type": "boolean"
    },
    {
      "table": "public.brokers",
      "column": "disabled_api_registrations",
      "type": "character varying[]"
    },
    {
      "table": "public.brokers",
      "column": "disabled_client_types",
      "type": "character varying[]"
    },
    {
      "table": "public.brokers",
      "column": "disabled_trading",
      "type": "character varying[]"
    },
    {
      "table": "public.brokers",
      "column": "emails",
      "type": "text[]"
    },
    {
      "table": "public.brokers",
      "column": "externally_managed_settlement_accounts",
      "type": "boolean"
    },
    {
      "table": "public.brokers",
      "column": "forward_pairs_notification_emails",
      "type": "character varying[]"
    },
    {
      "table": "public.brokers",
      "column": "forward_pairs_required",
      "type": "boolean"
    },
    {
      "table": "public.brokers",
      "column": "forward_trade_volume_modifier",
      "type": "integer"
    },
    {
      "table": "public.brokers",
      "column": "forward_trades_after",
      "type": "integer"
    },
    {
      "table": "public.brokers",
      "column": "icon_url",
      "type": "character varying"
    },
    {
      "table": "public.brokers",
      "column": "id",
      "type": "integer"
    },
    {
      "table": "public.brokers",
      "column": "logo_url",
      "type": "character varying"
    },
    {
      "table": "public.brokers",
      "column": "margin_base",
      "type": "character varying"
    },
    {
      "table": "public.brokers",
      "column": "name",
      "type": "character varying"
    },
    {
      "table": "public.brokers",
      "column": "need_payment_supporting_documents",
      "type": "character varying[]"
    },
    {
      "table": "public.brokers",
      "column": "regulation_registration_numbers",
      "type": "text[]"
    },
    {
      "table": "public.brokers",
      "column": "terms_url",
      "type": "character varying"
    },
    {
      "table": "public.brokers",
      "column": "trade_fee",
      "type": "numeric"
    },
    {
      "table": "public.brokers",
      "column": "updated_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.campaigns",
      "column": "account_id",
      "type": "integer"
    },
    {
      "table": "public.campaigns",
      "column": "created_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.campaigns",
      "column": "id",
      "type": "integer"
    },
    {
      "table": "public.campaigns",
      "column": "name",
      "type": "character varying"
    },
    {
      "table": "public.campaigns",
      "column": "token",
      "type": "character varying"
    },
    {
      "table": "public.campaigns",
      "column": "updated_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.clients",
      "column": "accepted_terms",
      "type": "boolean"
    },
    {
      "table": "public.clients",
      "column": "accepted_terms_ip",
      "type": "character varying"
    },
    {
      "table": "public.clients",
      "column": "business_nature",
      "type": "character varying"
    },
    {
      "table": "public.clients",
      "column": "buy_currencies",
      "type": "character varying[]"
    },
    {
      "table": "public.clients",
      "column": "completed_registration_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.clients",
      "column": "currently_trade_with",
      "type": "character varying"
    },
    {
      "table": "public.clients",
      "column": "data",
      "type": "json"
    },
    {
      "table": "public.clients",
      "column": "destination_countries",
      "type": "character varying[]"
    },
    {
      "table": "public.clients",
      "column": "expected_first_trade",
      "type": "character varying"
    },
    {
      "table": "public.clients",
      "column": "expected_volume_currency",
      "type": "character varying"
    },
    {
      "table": "public.clients",
      "column": "expected_volume_from",
      "type": "bigint"
    },
    {
      "table": "public.clients",
      "column": "expected_volume_to",
      "type": "bigint"
    },
    {
      "table": "public.clients",
      "column": "hear_about_us",
      "type": "character varying"
    },
    {
      "table": "public.clients",
      "column": "hear_about_us_details",
      "type": "character varying"
    },
    {
      "table": "public.clients",
      "column": "note",
      "type": "character varying"
    },
    {
      "table": "public.clients",
      "column": "purpose",
      "type": "character varying"
    },
    {
      "table": "public.clients",
      "column": "purpose_group",
      "type": "character varying"
    },
    {
      "table": "public.clients",
      "column": "sell_currencies",
      "type": "character varying[]"
    },
    {
      "table": "public.clients",
      "column": "source_countries",
      "type": "character varying[]"
    },
    {
      "table": "public.clients",
      "column": "source_of_funds",
      "type": "character varying"
    },
    {
      "table": "public.clients",
      "column": "source_of_funds_details",
      "type": "character varying"
    },
    {
      "table": "public.clients",
      "column": "trade_frequency",
      "type": "character varying"
    },
    {
      "table": "public.clients",
      "column": "type",
      "type": "character varying"
    },
    {
      "table": "public.clients",
      "column": "updated_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.notification_settings",
      "column": "account_credentials_id",
      "type": "bigint"
    },
    {
      "table": "public.notification_settings",
      "column": "created_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.notification_settings",
      "column": "email",
      "type": "jsonb"
    },
    {
      "table": "public.notification_settings",
      "column": "email_notifications_enabled",
      "type": "boolean"
    },
    {
      "table": "public.notification_settings",
      "column": "id",
      "type": "bigint"
    },
    {
      "table": "public.notification_settings",
      "column": "marketing",
      "type": "jsonb"
    },
    {
      "table": "public.notification_settings",
      "column": "marketing_emails_enabled",
      "type": "boolean"
    },
    {
      "table": "public.notification_settings",
      "column": "push",
      "type": "jsonb"
    },
    {
      "table": "public.notification_settings",
      "column": "push_notifications_enabled",
      "type": "boolean"
    },
    {
      "table": "public.notification_settings",
      "column": "updated_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.quotes",
      "column": "amount",
      "type": "numeric"
    },
    {
      "table": "public.quotes",
      "column": "beneficiary_id",
      "type": "integer"
    },
    {
      "table": "public.quotes",
      "column": "buy_currency",
      "type": "character varying"
    },
    {
      "table": "public.quotes",
      "column": "created_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.quotes",
      "column": "delivery_date",
      "type": "date"
    },
    {
      "table": "public.quotes",
      "column": "id",
      "type": "integer"
    },
    {
      "table": "public.quotes",
      "column": "market_rate",
      "type": "numeric"
    },
    {
      "table": "public.quotes",
      "column": "reason",
      "type": "character varying"
    },
    {
      "table": "public.quotes",
      "column": "sell_currency",
      "type": "character varying"
    },
    {
      "table": "public.quotes",
      "column": "side",
      "type": "integer"
    },
    {
      "table": "public.quotes",
      "column": "status",
      "type": "character varying"
    },
    {
      "table": "public.quotes",
      "column": "type",
      "type": "character varying"
    },
    {
      "table": "public.quotes",
      "column": "updated_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.quotes",
      "column": "user_id",
      "type": "integer"
    },
    {
      "table": "public.quotes",
      "column": "uuid",
      "type": "character varying"
    },
    {
      "table": "public.referral_invitations",
      "column": "affiliate_id",
      "type": "integer"
    },
    {
      "table": "public.referral_invitations",
      "column": "click_count",
      "type": "integer"
    },
    {
      "table": "public.referral_invitations",
      "column": "created_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.referral_invitations",
      "column": "delivered_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.referral_invitations",
      "column": "id",
      "type": "integer"
    },
    {
      "table": "public.referral_invitations",
      "column": "open_count",
      "type": "integer"
    },
    {
      "table": "public.referral_invitations",
      "column": "referral_email",
      "type": "character varying"
    },
    {
      "table": "public.referral_invitations",
      "column": "token_accepted",
      "type": "character varying"
    },
    {
      "table": "public.referral_invitations",
      "column": "updated_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.referral_invitations",
      "column": "user_id",
      "type": "integer"
    },
    {
      "table": "public.reward_details",
      "column": "amount",
      "type": "numeric"
    },
    {
      "table": "public.reward_details",
      "column": "created_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.reward_details",
      "column": "id",
      "type": "bigint"
    },
    {
      "table": "public.reward_details",
      "column": "percentage",
      "type": "integer"
    },
    {
      "table": "public.reward_details",
      "column": "total_amount_achieved",
      "type": "numeric"
    },
    {
      "table": "public.reward_details",
      "column": "total_amount_trigger_count",
      "type": "integer"
    },
    {
      "table": "public.reward_details",
      "column": "total_percentage_achieved",
      "type": "integer"
    },
    {
      "table": "public.reward_details",
      "column": "total_percentage_trigger_count",
      "type": "integer"
    },
    {
      "table": "public.reward_details",
      "column": "type",
      "type": "character varying"
    },
    {
      "table": "public.reward_details",
      "column": "updated_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.reward_details",
      "column": "user_id",
      "type": "bigint"
    },
    {
      "table": "public.reward_events",
      "column": "amount",
      "type": "numeric"
    },
    {
      "table": "public.reward_events",
      "column": "created_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.reward_events",
      "column": "id",
      "type": "bigint"
    },
    {
      "table": "public.reward_events",
      "column": "percentage",
      "type": "integer"
    },
    {
      "table": "public.reward_events",
      "column": "referred_user_id",
      "type": "bigint"
    },
    {
      "table": "public.reward_events",
      "column": "updated_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.reward_events",
      "column": "user_id",
      "type": "bigint"
    },
    {
      "table": "public.reward_events",
      "column": "user_promotion_id",
      "type": "bigint"
    },
    {
      "table": "public.trade_bookings",
      "column": "allocation_notified_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.trade_bookings",
      "column": "api_disconnected",
      "type": "boolean"
    },
    {
      "table": "public.trade_bookings",
      "column": "api_market_rate",
      "type": "numeric"
    },
    {
      "table": "public.trade_bookings",
      "column": "api_market_rate_inverse",
      "type": "numeric"
    },
    {
      "table": "public.trade_bookings",
      "column": "api_rate",
      "type": "numeric"
    },
    {
      "table": "public.trade_bookings",
      "column": "api_rate_inverse",
      "type": "numeric"
    },
    {
      "table": "public.trade_bookings",
      "column": "awaiting_broker_confirmation",
      "type": "boolean"
    },
    {
      "table": "public.trade_bookings",
      "column": "broker_account_id",
      "type": "integer"
    },
    {
      "table": "public.trade_bookings",
      "column": "broker_quotation_id",
      "type": "integer"
    },
    {
      "table": "public.trade_bookings",
      "column": "buy_amount",
      "type": "numeric"
    },
    {
      "table": "public.trade_bookings",
      "column": "buy_currency_to_gbp_rate",
      "type": "numeric"
    },
    {
      "table": "public.trade_bookings",
      "column": "cover_rate",
      "type": "numeric"
    },
    {
      "table": "public.trade_bookings",
      "column": "cover_rate_inverse",
      "type": "numeric"
    },
    {
      "table": "public.trade_bookings",
      "column": "created_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.trade_bookings",
      "column": "deleted_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.trade_bookings",
      "column": "delivery_date",
      "type": "date"
    },
    {
      "table": "public.trade_bookings",
      "column": "executed_by",
      "type": "character varying"
    },
    {
      "table": "public.trade_bookings",
      "column": "forward_deposit",
      "type": "numeric"
    },
    {
      "table": "public.trade_bookings",
      "column": "forward_deposit_received_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.trade_bookings",
      "column": "invoice_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.trade_bookings",
      "column": "market_rate",
      "type": "numeric"
    },
    {
      "table": "public.trade_bookings",
      "column": "market_rate_inverse",
      "type": "numeric"
    },
    {
      "table": "public.trade_bookings",
      "column": "note",
      "type": "character varying"
    },
    {
      "table": "public.trade_bookings",
      "column": "platform",
      "type": "character varying"
    },
    {
      "table": "public.trade_bookings",
      "column": "quote_id",
      "type": "integer"
    },
    {
      "table": "public.trade_bookings",
      "column": "rate",
      "type": "numeric"
    },
    {
      "table": "public.trade_bookings",
      "column": "rate_inverse",
      "type": "numeric"
    },
    {
      "table": "public.trade_bookings",
      "column": "relationship_manager_id",
      "type": "bigint"
    },
    {
      "table": "public.trade_bookings",
      "column": "sell_amount",
      "type": "numeric"
    },
    {
      "table": "public.trade_bookings",
      "column": "sell_currency_to_gbp_rate",
      "type": "numeric"
    },
    {
      "table": "public.trade_bookings",
      "column": "settlement_funds_received_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.trade_bookings",
      "column": "settlement_reference",
      "type": "character varying"
    },
    {
      "table": "public.trade_bookings",
      "column": "side",
      "type": "integer"
    },
    {
      "table": "public.trade_bookings",
      "column": "trade_reference",
      "type": "character varying"
    },
    {
      "table": "public.trade_bookings",
      "column": "updated_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.trade_bookings",
      "column": "uuid",
      "type": "character varying"
    },
    {
      "table": "public.trade_details",
      "column": "acquisition_cost_affiliate",
      "type": "numeric(10,2)"
    },
    {
      "table": "public.trade_details",
      "column": "acquisition_cost_sub_affiliate",
      "type": "numeric(10,2)"
    },
    {
      "table": "public.trade_details",
      "column": "commission_affiliate",
      "type": "numeric"
    },
    {
      "table": "public.trade_details",
      "column": "commission_associate_director",
      "type": "numeric(10,2)"
    },
    {
      "table": "public.trade_details",
      "column": "commission_net",
      "type": "numeric(10,2)"
    },
    {
      "table": "public.trade_details",
      "column": "commission_sell_currency",
      "type": "numeric"
    },
    {
      "table": "public.trade_details",
      "column": "commission_sub_affiliate",
      "type": "numeric(10,2)"
    },
    {
      "table": "public.trade_details",
      "column": "created_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.trade_details",
      "column": "gross_profit",
      "type": "numeric(10,2)"
    },
    {
      "table": "public.trade_details",
      "column": "gross_profit_sell_currency",
      "type": "numeric"
    },
    {
      "table": "public.trade_details",
      "column": "manually_adjusted",
      "type": "boolean"
    },
    {
      "table": "public.trade_details",
      "column": "margin",
      "type": "numeric"
    },
    {
      "table": "public.trade_details",
      "column": "payment_fees",
      "type": "numeric"
    },
    {
      "table": "public.trade_details",
      "column": "quotation_comparison",
      "type": "json"
    },
    {
      "table": "public.trade_details",
      "column": "trade_fee",
      "type": "numeric"
    },
    {
      "table": "public.trade_details",
      "column": "updated_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.user_analytics",
      "column": "came_from",
      "type": "text"
    },
    {
      "table": "public.user_analytics",
      "column": "came_from_domain",
      "type": "character varying"
    },
    {
      "table": "public.user_analytics",
      "column": "created_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.user_analytics",
      "column": "extra",
      "type": "json"
    },
    {
      "table": "public.user_analytics",
      "column": "gclid",
      "type": "character varying"
    },
    {
      "table": "public.user_analytics",
      "column": "id",
      "type": "integer"
    },
    {
      "table": "public.user_analytics",
      "column": "latest_traffic_source",
      "type": "text"
    },
    {
      "table": "public.user_analytics",
      "column": "latest_traffic_source_domain",
      "type": "character varying"
    },
    {
      "table": "public.user_analytics",
      "column": "updated_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.user_analytics",
      "column": "user_id",
      "type": "integer"
    },
    {
      "table": "public.user_analytics",
      "column": "ved",
      "type": "json"
    },
    {
      "table": "public.user_commission_statements",
      "column": "beneficiary_id",
      "type": "bigint"
    },
    {
      "table": "public.user_commission_statements",
      "column": "commission",
      "type": "numeric"
    },
    {
      "table": "public.user_commission_statements",
      "column": "created_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.user_commission_statements",
      "column": "delete_corporate_commission",
      "type": "numeric"
    },
    {
      "table": "public.user_commission_statements",
      "column": "delete_personal_commission",
      "type": "numeric"
    },
    {
      "table": "public.user_commission_statements",
      "column": "id",
      "type": "bigint"
    },
    {
      "table": "public.user_commission_statements",
      "column": "last_added_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.user_commission_statements",
      "column": "paid_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.user_commission_statements",
      "column": "sign_up_reward_amount",
      "type": "numeric"
    },
    {
      "table": "public.user_commission_statements",
      "column": "trading_user_ids",
      "type": "bigint[]"
    },
    {
      "table": "public.user_commission_statements",
      "column": "updated_at",
      "type": "timestamp without time zone"
    },
    {
      "table": "public.user_commission_statements",
      "column": "user_id",
      "type": "bigint"
    },
    {
      "table": "public.user_first_trade_bookings",
      "column": "trade_booking_id",
      "type": "bigint"
    },
    {
      "table": "public.user_first_trade_bookings",
      "column": "user_id",
      "type": "bigint"
    }
  ],
  "removed_invented_or_obsolete_columns": [
    {
      "table": "ct.client_360",
      "column": "country_norm",
      "old_type": "TEXT"
    },
    {
      "table": "public.accounts",
      "column": "name",
      "old_type": "TEXT"
    },
    {
      "table": "public.accounts",
      "column": "source",
      "old_type": "TEXT"
    },
    {
      "table": "public.accounts",
      "column": "type",
      "old_type": "TEXT"
    },
    {
      "table": "public.affiliates",
      "column": "id",
      "old_type": "INT"
    },
    {
      "table": "public.affiliates",
      "column": "name",
      "old_type": "TEXT"
    },
    {
      "table": "public.clients",
      "column": "category",
      "old_type": "TEXT"
    },
    {
      "table": "public.clients",
      "column": "country",
      "old_type": "TEXT"
    },
    {
      "table": "public.clients",
      "column": "name",
      "old_type": "TEXT"
    },
    {
      "table": "public.trade_details",
      "column": "settlement_amount",
      "old_type": "DECIMAL"
    },
    {
      "table": "public.users",
      "column": "email",
      "old_type": "TEXT"
    },
    {
      "table": "public.users",
      "column": "id",
      "old_type": "INT"
    },
    {
      "table": "public.users",
      "column": "name",
      "old_type": "TEXT"
    }
  ],
  "type_differences": [
    {
      "table": "ct.client_360",
      "column": "first_traded",
      "old": "TIMESTAMPTZ",
      "new": "date"
    },
    {
      "table": "ct.client_360",
      "column": "last_traded",
      "old": "TIMESTAMPTZ",
      "new": "date"
    },
    {
      "table": "ct.client_360",
      "column": "pipedrive_person_id",
      "old": "INT",
      "new": "bigint"
    },
    {
      "table": "ct.client_360",
      "column": "revenue_gbp_12mo",
      "old": "DECIMAL",
      "new": "numeric"
    },
    {
      "table": "ct.client_360",
      "column": "revenue_gbp_all",
      "old": "DECIMAL",
      "new": "numeric"
    },
    {
      "table": "ct.client_360",
      "column": "user_id",
      "old": "INT",
      "new": "bigint"
    },
    {
      "table": "pipedrive.activities",
      "column": "deal_id",
      "old": "INT",
      "new": "BIGINT"
    },
    {
      "table": "pipedrive.activities",
      "column": "id",
      "old": "INT",
      "new": "TEXT"
    },
    {
      "table": "pipedrive.activities",
      "column": "person_id",
      "old": "INT",
      "new": "BIGINT"
    },
    {
      "table": "pipedrive.deals",
      "column": "id",
      "old": "INT",
      "new": "BIGINT"
    },
    {
      "table": "pipedrive.deals",
      "column": "person_id",
      "old": "INT",
      "new": "BIGINT"
    },
    {
      "table": "pipedrive.deals",
      "column": "probability",
      "old": "DECIMAL",
      "new": "INT"
    },
    {
      "table": "pipedrive.notes",
      "column": "deal_id",
      "old": "INT",
      "new": "BIGINT"
    },
    {
      "table": "pipedrive.notes",
      "column": "id",
      "old": "INT",
      "new": "BIGINT"
    },
    {
      "table": "pipedrive.notes",
      "column": "person_id",
      "old": "INT",
      "new": "BIGINT"
    },
    {
      "table": "pipedrive.persons_enriched",
      "column": "ct_id",
      "old": "INT",
      "new": "BIGINT"
    },
    {
      "table": "pipedrive.persons_enriched",
      "column": "id",
      "old": "INT",
      "new": "BIGINT"
    },
    {
      "table": "public.accounts",
      "column": "created_at",
      "old": "TIMESTAMPTZ",
      "new": "timestamp without time zone"
    },
    {
      "table": "public.accounts",
      "column": "group",
      "old": "TEXT",
      "new": "character varying"
    },
    {
      "table": "public.accounts",
      "column": "id",
      "old": "INT",
      "new": "integer"
    },
    {
      "table": "public.accounts",
      "column": "relationship_manager_id",
      "old": "INT",
      "new": "integer"
    },
    {
      "table": "public.clients",
      "column": "created_at",
      "old": "TIMESTAMPTZ",
      "new": "timestamp without time zone"
    },
    {
      "table": "public.clients",
      "column": "id",
      "old": "INT",
      "new": "integer"
    },
    {
      "table": "public.clients",
      "column": "status",
      "old": "TEXT",
      "new": "character varying"
    },
    {
      "table": "public.clients",
      "column": "user_id",
      "old": "INT",
      "new": "integer"
    },
    {
      "table": "public.trade_bookings",
      "column": "buy_currency",
      "old": "TEXT",
      "new": "character varying"
    },
    {
      "table": "public.trade_bookings",
      "column": "completed_at",
      "old": "TIMESTAMPTZ",
      "new": "timestamp without time zone"
    },
    {
      "table": "public.trade_bookings",
      "column": "id",
      "old": "INT",
      "new": "integer"
    },
    {
      "table": "public.trade_bookings",
      "column": "sell_currency",
      "old": "TEXT",
      "new": "character varying"
    },
    {
      "table": "public.trade_bookings",
      "column": "settlement_at",
      "old": "TIMESTAMPTZ",
      "new": "timestamp without time zone"
    },
    {
      "table": "public.trade_bookings",
      "column": "status",
      "old": "TEXT",
      "new": "character varying"
    },
    {
      "table": "public.trade_bookings",
      "column": "traded_at",
      "old": "TIMESTAMPTZ",
      "new": "timestamp without time zone"
    },
    {
      "table": "public.trade_bookings",
      "column": "user_id",
      "old": "INT",
      "new": "integer"
    },
    {
      "table": "public.trade_details",
      "column": "commission",
      "old": "DECIMAL",
      "new": "numeric(10,2)"
    },
    {
      "table": "public.trade_details",
      "column": "id",
      "old": "INT",
      "new": "integer"
    },
    {
      "table": "public.trade_details",
      "column": "trade_booking_id",
      "old": "INT",
      "new": "integer"
    }
  ],
  "source_map_type_differences": [
    {
      "table": "public.affiliate_details",
      "column": "acquisition_cost_corporate",
      "map_type": "numeric",
      "canonical_type": "numeric(10,2)",
      "resolution": "canonical Rails physical type"
    },
    {
      "table": "public.affiliate_details",
      "column": "acquisition_cost_personal",
      "map_type": "numeric",
      "canonical_type": "numeric(10,2)",
      "resolution": "canonical Rails physical type"
    },
    {
      "table": "public.affiliate_details",
      "column": "affiliate_id",
      "map_type": "bigint",
      "canonical_type": "integer",
      "resolution": "canonical Rails physical type"
    },
    {
      "table": "public.affiliate_details",
      "column": "company_name",
      "map_type": "text",
      "canonical_type": "character varying",
      "resolution": "canonical Rails physical type"
    },
    {
      "table": "public.affiliate_details",
      "column": "currency",
      "map_type": "text",
      "canonical_type": "character varying",
      "resolution": "canonical Rails physical type"
    },
    {
      "table": "public.affiliate_details",
      "column": "first_name",
      "map_type": "text",
      "canonical_type": "character varying",
      "resolution": "canonical Rails physical type"
    },
    {
      "table": "public.affiliate_details",
      "column": "id",
      "map_type": "bigint",
      "canonical_type": "integer",
      "resolution": "canonical Rails physical type"
    },
    {
      "table": "public.affiliate_details",
      "column": "last_name",
      "map_type": "text",
      "canonical_type": "character varying",
      "resolution": "canonical Rails physical type"
    },
    {
      "table": "public.affiliate_details",
      "column": "referral_token",
      "map_type": "text",
      "canonical_type": "character varying",
      "resolution": "canonical Rails physical type"
    },
    {
      "table": "public.clients",
      "column": "buy_currencies",
      "map_type": "ARRAY",
      "canonical_type": "character varying[]",
      "resolution": "canonical Rails physical type"
    },
    {
      "table": "public.clients",
      "column": "sell_currencies",
      "map_type": "ARRAY",
      "canonical_type": "character varying[]",
      "resolution": "canonical Rails physical type"
    },
    {
      "table": "public.referral_invitations",
      "column": "affiliate_id",
      "map_type": "bigint",
      "canonical_type": "integer",
      "resolution": "canonical Rails physical type"
    },
    {
      "table": "public.referral_invitations",
      "column": "created_at",
      "map_type": "timestamp",
      "canonical_type": "timestamp without time zone",
      "resolution": "canonical Rails physical type"
    },
    {
      "table": "public.referral_invitations",
      "column": "delivered_at",
      "map_type": "timestamp",
      "canonical_type": "timestamp without time zone",
      "resolution": "canonical Rails physical type"
    },
    {
      "table": "public.referral_invitations",
      "column": "id",
      "map_type": "bigint",
      "canonical_type": "integer",
      "resolution": "canonical Rails physical type"
    },
    {
      "table": "public.referral_invitations",
      "column": "user_id",
      "map_type": "bigint",
      "canonical_type": "integer",
      "resolution": "canonical Rails physical type"
    },
    {
      "table": "public.trade_details",
      "column": "commission",
      "map_type": "numeric",
      "canonical_type": "numeric(10,2)",
      "resolution": "canonical Rails physical type"
    },
    {
      "table": "public.trade_details",
      "column": "commission_net",
      "map_type": "numeric",
      "canonical_type": "numeric(10,2)",
      "resolution": "canonical Rails physical type"
    }
  ],
  "old_fixture_sha256": "aec46578bd8ad19881a30c599259d25e8ab83f546cf30352a371eb5ae421e393",
  "physical_table_count": 31,
  "physical_column_count": 566,
  "authorization_scope": "Column grants derived from source map and ratified docs. account_credentials denied. Full canonical physical tables do not grant all columns."
}
