mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-23 03:51:36 +03:00
5d51a826ea
We have conflicts which prevents us from running demo seed command after a database-reset or/and if dev seed has already been populated. This is because we are trying to create Tim user twice (but due to the insert()...onConflict() in the seed creation, it does not create the second one), for seed-dev and seed-demo . This PR fixes that by using the same user id, allowing us to use the same Tim apple for both dev/demo seeds Test <img width="802" alt="Screenshot 2024-12-16 at 15 36 56" src="https://github.com/user-attachments/assets/72244978-130f-4561-8709-43376453b247" /> <img width="780" alt="Screenshot 2024-12-16 at 15 37 17" src="https://github.com/user-attachments/assets/01ce221b-34f6-4e48-ae30-d84bdf9d3cc2" /> |
||
---|---|---|
.. | ||
@types | ||
patches | ||
scripts | ||
src | ||
test/integration | ||
.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 |