[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:
co-authored by
Claude Sonnet 4.6
parent
86e9bdded2
commit
a8ef41dc35
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user