What are the Slack Archives?

Itโ€™s a history of our time together in the Slack Community! Thereโ€™s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you wonโ€™t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hello guys! I want to delete unique constraint (spy_quote-unique-name-customer_reference) from spy_q

UKJKAFMMJ
UKJKAFMMJ Posts: 38 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

Hello guys! I want to delete unique constraint (spy_quote-unique-name-customer_reference) from spy_quote because I've created another one. Can you tell me if it's possible?

Comments

  • have you tried putting an empty constraint with that name on project level?

  • i am not 100% sure that is the right solution here, though ๐Ÿค”

  • UKJKAFMMJ
    UKJKAFMMJ Posts: 38 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    I'm trying now

  • UKJKAFMMJ
    UKJKAFMMJ Posts: 38 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    Not working

  • can you share your approach?

  • UKJKAFMMJ
    UKJKAFMMJ Posts: 38 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet
    edited July 2020

    Done, I'm using the same name, but different columns.
    Thanks!

  • well, yes. as a workaround. you can simply combine it with the id, which is unique by definition