CREATE TABLE {{table_schema}}.crm_deal_relate_note (
    `deal_id` int NOT NULL,
    `note_id` int NOT NULL,
    `old_meeting_id` int NOT NULL,
    PRIMARY KEY (deal_id, note_id)
) ENGINE=MyISAM;

/*AlTER TABLE exo_vm_new.crm_deal_relate_note ADD `old_meeting_id` int NOT NULL*/