Add admin and customer interfaces, orders, signed activation and leases, protected package delivery, keyring verification, migrations, security controls, tests and deployment documentation. Co-Authored-By: Craft Agent <agents-noreply@craft.do>
12 lines
510 B
SQL
12 lines
510 B
SQL
CREATE TABLE system_settings (
|
|
id TINYINT UNSIGNED NOT NULL,
|
|
site_name VARCHAR(100) NOT NULL DEFAULT '授权管理平台',
|
|
support_email VARCHAR(254) NOT NULL DEFAULT '',
|
|
announcement TEXT NOT NULL,
|
|
updated_at TIMESTAMP(6) NULL,
|
|
PRIMARY KEY (id),
|
|
CONSTRAINT chk_system_settings_singleton CHECK (id = 1)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
INSERT INTO system_settings(id,announcement) VALUES(1,'');
|
|
CREATE INDEX idx_audit_created_id ON audit_events(created_at,id);
|