Add functionality to allow associating a domain to a certificate

This commit is contained in:
Marcus Hill
2022-01-29 13:53:54 +00:00
parent c3b7f28057
commit d84ec0519e
5 changed files with 183 additions and 135 deletions

1
db.sql
View File

@@ -218,6 +218,7 @@ CREATE TABLE `certificates` (
`certificate_created_at` datetime NOT NULL,
`certificate_updated_at` datetime DEFAULT NULL,
`certificate_archived_at` datetime DEFAULT NULL,
`certificate_domain_id` int(11) DEFAULT NULL,
`certificate_client_id` int(11) NOT NULL,
`company_id` int(11) NOT NULL,
PRIMARY KEY (`certificate_id`)