Files
leonwww/dns/migrations/008_add_ca_storage.sql

8 lines
279 B
MySQL
Raw Normal View History

2025-08-22 17:31:54 +03:00
-- Add table to store CA certificate and key
CREATE TABLE IF NOT EXISTS ca_certificates (
2025-11-08 15:06:30 +08:00
id INT AUTO_INCREMENT PRIMARY KEY,
2025-08-22 17:31:54 +03:00
ca_cert_pem TEXT NOT NULL,
ca_key_pem TEXT NOT NULL,
2025-11-08 15:06:30 +08:00
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
is_active TINYINT(1) DEFAULT 1
2025-08-22 17:31:54 +03:00
);