diff --git a/src/migrations/20240830102144-onboarding-events.js b/src/migrations/20240830102144-onboarding-events.js index 15b720592434..a1b66df5f499 100644 --- a/src/migrations/20240830102144-onboarding-events.js +++ b/src/migrations/20240830102144-onboarding-events.js @@ -12,7 +12,7 @@ exports.up = function (db, cb) { CREATE TABLE onboarding_events_project ( event VARCHAR(255) NOT NULL, time_to_event INTEGER NOT NULL, - project VARCHAR(255) REFERENCES projects(id) ON DELETE CASCADE, + project VARCHAR(255) NOT NULL REFERENCES projects(id) ON DELETE CASCADE, PRIMARY KEY (event, project) ); `,