set primary key to "security, time"