wanlitao / HangfireExtension

Hangfire Extension plugins
Apache License 2.0
22 stars 32 forks source link

Records in JobParameter and State table are not deleted when expired #8

Closed rocker8942 closed 6 years ago

rocker8942 commented 7 years ago

Hi Wanlitao,

I expected that records in JobParameter and State is to be deleted when expired job deleted becase there is a foreign key to job table, But, it didn't.

Any idea why?

Regards Joe

wanlitao commented 7 years ago

as the create table sql not set foreign key delete cascade

rocker8942 commented 7 years ago

Thanks for the answer. Any reason why you didn't set foreign key delete cascade?