mirror of
https://github.com/twentyhq/twenty.git
synced 2024-11-26 13:42:44 +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 |
||
---|---|---|
.. | ||
@types | ||
felix@a33b017977 | ||
patches | ||
scripts | ||
src | ||
test | ||
.env.example | ||
.env.test | ||
.eslintrc.cjs | ||
.gitignore | ||
.prettierignore | ||
.prettierrc | ||
.swcrc | ||
jest-integration.config.ts | ||
jest.config.ts | ||
nest-cli.json | ||
package.json | ||
project.json | ||
tsconfig.build.json | ||
tsconfig.json | ||
tsconfig.scripts.json |