feat: implement license platform business flows and delivery tooling
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>
This commit is contained in:
11
backend/migrations/000009_admin_settings.up.sql
Normal file
11
backend/migrations/000009_admin_settings.up.sql
Normal file
@@ -0,0 +1,11 @@
|
||||
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);
|
||||
Reference in New Issue
Block a user