diff --git a/server/backend/migration/static_data/source-schema.sql b/server/backend/migration/static_data/source-schema.sql index 12afcc11..f7fea9c7 100644 --- a/server/backend/migration/static_data/source-schema.sql +++ b/server/backend/migration/static_data/source-schema.sql @@ -469,7 +469,7 @@ create table if not exists newsSource url mediumtext null, icon int not null, hook enum ('newspread', 'impulsivHook') null, - constraint newsSource_ibfk_1 foreign key (icon) references files (file) on update cascade on delete set null + constraint newsSource_ibfk_1 foreign key (icon) references files (file) on update cascade on delete cascade ) collate = utf8mb4_unicode_ci auto_increment = 17;