bugs.core_3073_test. Foreign key cascade with SET DEFAULT uses the default value of the moment of the FK creation