2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 18:27:13 +08:00
Files
panel/database/migrations/20231101121929_create_certs_table.up.sql
2023-11-02 02:53:03 +08:00

16 lines
626 B
SQL

CREATE TABLE certs
(
id integer PRIMARY KEY AUTOINCREMENT NOT NULL,
user_id integer NOT NULL,
website_id integer DEFAULT NULL,
dns_id integer DEFAULT NULL,
type varchar(255) NOT NULL,
domains text NOT NULL,
auto_renew integer DEFAULT 1,
cert_url varchar(255) DEFAULT NULL,
cert text DEFAULT NULL,
key text DEFAULT NULL,
created_at datetime NOT NULL,
updated_at datetime NOT NULL
);