typeorm-seeding
typeorm-seeding copied to clipboard
🌱 A delightful way to seed test data into your database.
Hi I recently installed typeorm-seeding into my project, and im trying to seed colors into a FormColorEntity, My entity located in /src/form/form-color.entity.ts which is under FormModule Here is my seeder:...
I try to run seed using an existing named DB connection and it does not work as expected. To specify a connection name, I pass a `connection` property to `configureConnection()`...
I'm trying to use it to populate a postgres DB but it does not work. here's my script: ``` "seed:config": "ts-node -r tsconfig-paths/register ./node_modules/typeorm-seeding/dist/cli.js config", "seed:run": "ts-node ./node_modules/typeorm-seeding/dist/cli.js seed", ```...
Given an ormconfig.js file with: ```js module.exports = { // ... seeds: ['src/**/*.seed.ts'], factories: ['src/**/*.factory.ts], } ``` The ormconfig file is located at `apps/api/src/config/ormconfig.js` within a monorepo, and `package.json` is...
hi! how can I stop **seed:config** command to output **ormconfig.json** file in terminal? I don't want my **database username & password** to be logged. ``` { type: 'postgres', host: 'localhost',...
I use monorepo to build the applications. I've some apps and libs My code folder is below. How to write typeorm config file in my case for seeding data. ...
When seeding is finished it doesn't finish the command. It keeps the process open. ```sh ✔ Seeders PermissionSeeder, GroupSeeder, UserSeeder executed 👍 Finished Seeding ``` So can't type without killing...
Bumps [minimist](https://github.com/minimistjs/minimist) from 1.2.5 to 1.2.8. Changelog Sourced from minimist's changelog. v1.2.8 - 2023-02-09 Merged [Fix] Fix long option followed by single dash [#17](https://github.com/minimistjs/minimist/issues/17) [Tests] Remove duplicate test [#12](https://github.com/minimistjs/minimist/issues/12) [Fix]...
Bumps [json5](https://github.com/json5/json5) from 2.1.3 to 2.2.3. Release notes Sourced from json5's releases. v2.2.3 Fix: [email protected] is now the 'latest' release according to npm instead of v1.0.2. (#299) v2.2.2 Fix: Properties...