Open evantissot opened 1 year ago
Thanks for this @evantissot. We'd be happy to receive a PR for this if you're willing to do so.
The environment table is one of our busiest tables. Altering a constraint on that table will be non-trivial. Therefore, removing the good first issue
tag from this.
Describe the bug I don't know if it is a feature or a bug since I guess environment key should be generated randomly. When deleting an environment, and then creating a new one with the same environment key. I get the following error
duplicate key value violates unique constraint "environments_environment_api_key_key"
To Reproduce
Steps to reproduce the behavior:
Expected behavior After running the 3 commands, the environment is available. I think this can be achievable with different options:
How are you running Flagsmith?
Additional context Running version 2.83.0