Commit Tidy allow public_cert to be null and move public_cert before notes

This commit is contained in:
johnnyq
2022-01-04 11:35:34 -05:00
parent c59e2e938c
commit 7112463e41
4 changed files with 21 additions and 22 deletions

4
db.sql
View File

@@ -186,11 +186,11 @@ CREATE TABLE `certificates` (
`certificate_domain` varchar(200) DEFAULT NULL,
`certificate_issued_by` varchar(200) NOT NULL,
`certificate_expire` date DEFAULT NULL,
`certificate_public_key` varchar(1500) DEFAULT NULL,
`certificate_notes` text DEFAULT NULL,
`certificate_created_at` datetime NOT NULL,
`certificate_updated_at` datetime DEFAULT NULL,
`certificate_archived_at` datetime DEFAULT NULL,
`certificate_public_key` varchar(1500) NOT NULL,
`certificate_client_id` int(11) NOT NULL,
`company_id` int(11) NOT NULL,
PRIMARY KEY (`certificate_id`)
@@ -1154,4 +1154,4 @@ CREATE TABLE `vendors` (
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2021-12-27 12:04:12
-- Dump completed on 2022-01-04 11:34:48