420a794c9e
Clasificador por reglas sin IA, correccion manual (migracion 040) y filas desplegables en ListView. Flyout por encima de popups. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
11 lines
690 B
SQL
11 lines
690 B
SQL
-- Tipo de licencia de un programa corregido a mano (gratuito, pago, gratis solo personal o
|
|
-- componente). Vale para todos los equipos que lo tengan y gana sobre el clasificador por reglas
|
|
-- (softwareClassifier.js), que no se guarda: se calcula al leer. Idempotente.
|
|
CREATE TABLE IF NOT EXISTS software_classifications (
|
|
name VARCHAR(255) NOT NULL PRIMARY KEY,
|
|
license_type VARCHAR(20) NOT NULL,
|
|
updated_by INT NULL,
|
|
updated_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
|
CONSTRAINT fk_software_classifications_user FOREIGN KEY (updated_by) REFERENCES users(id) ON DELETE SET NULL
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|