[FIX] Migration SQL: INT NOT NULL per FK verso organizations/users (signed)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
DevEnv nis2-agile
2026-03-07 13:22:08 +01:00
co-authored by Claude Sonnet 4.6
parent 86e9bdded2
commit a8ef41dc35
3 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -32,8 +32,8 @@ CREATE TABLE IF NOT EXISTS normative_updates (
CREATE TABLE IF NOT EXISTS normative_ack (
id INT UNSIGNED AUTO_INCREMENT PRIMARY KEY,
normative_update_id INT UNSIGNED NOT NULL,
organization_id INT UNSIGNED NOT NULL,
acknowledged_by INT UNSIGNED NOT NULL,
organization_id INT NOT NULL,
acknowledged_by INT NOT NULL,
acknowledged_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
notes TEXT NULL, -- Note opzionali dell'org sull'impatto