# база данных: monitor
# когда нужно выполнить: до выкладки
# примерное время выполнения: 30 секунд

alter table adv_actions
        add column payments_cnt int unsigned not null after pay_sum,
        add column sum_spent decimal(16,6) unsigned not null,
        add column sum_rest  decimal(16,6) unsigned not null,

        add column camps_cnt_active int unsigned not null,
        add column camps_cnt_moderated int unsigned not null,
        add column camps_cnt_rejected int unsigned not null,
        add column camps_cnt_drafts int unsigned not null,

        add column visits_before_camp int unsigned not null,
        add column visits_before_payment int unsigned not null
        ;


