mirror of
https://github.com/twentyhq/twenty.git
synced 2024-11-22 21:50:43 +03:00
c0610419c2
## Context WorkspaceIsUnique decorator allows us to create unique indexes on our tables. Here Emails is a composite field containing a TEXT subfield. Due to the fact that TEXT fields are non-nullable and have empty strings as default values, adding a unique index on a TEXT field or any composite containing TEXT as subfields will fail and throw if we try to create more than 1 record that does not specify a value to the TEXT field. This PR simply removes the index for the time being until we find a solution |
||
---|---|---|
.. | ||
twenty-chrome-extension | ||
twenty-docker | ||
twenty-e2e-testing | ||
twenty-emails | ||
twenty-front | ||
twenty-postgres | ||
twenty-server | ||
twenty-ui | ||
twenty-utils | ||
twenty-website | ||
twenty-zapier |