Skip to content

Foreign Key Constraint Failed When Changing Default Value #1981

@tomhosker

Description

@tomhosker

Details for the issue

What did you do?

I attempted to change the default value for the humour field in the article table of my almanack database from "" to "n". (I also tried " ", with the same result.)

What did you expect to see?

I expected the default value to be changed from "" to "n".

What did you see instead?

An error message. See the attached screenshot.

Useful extra information

I get a similar issue to the above when trying to carry out most other changes to the field, such as toggling Not null, or changing its foreign key constraint. (Currently, there is no foreign key constraint.)

What operating system are you using?

  • Linux: ( _distro: Ubuntu)

What is your DB4S version?

  • Other: Latest Debian.
    Screenshot from 2019-08-28 18-53-28

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions