try to use channel_id as primary key