  ADD PRIMARY KEY (`seq_number`);
 
 ALTER TABLE `seq_crl`
- ADD PRIMARY KEY (`seq_number`);
-
-ALTER TABLE `seq_crr`
  ADD PRIMARY KEY (`seq_number`);
 
 ALTER TABLE `seq_csr`

 ADD PRIMARY KEY (`pki_realm`,`alias`);

ALTER TABLE `application_log`
 ADD PRIMARY KEY (`application_log_id`), ADD KEY `workflow_id` (`workflow_id`), ADD KEY `workflow_id_2` (`workflow_id`,`category`,`priority`);

ALTER TABLE `audittrail`
 ADD PRIMARY KEY (`audittrail_key`);

MODIFY `seq_number` bigint(20) NOT NULL AUTO_INCREMENT;
ALTER TABLE `seq_crl`
MODIFY `seq_number` bigint(20) NOT NULL AUTO_INCREMENT;
ALTER TABLE `seq_csr`
MODIFY `seq_number` bigint(20) NOT NULL AUTO_INCREMENT;
ALTER TABLE `seq_csr_attributes`
