-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
My kysely.config.ts has the following option:
seeds: {
seedFolder: "seeds",
},I can create a seed file with the following command:
npx kysely seed make testseedAnd I can successfully run all seeds with
npx kysely seed runHowever, neither of the following commands works when I try to run a specific seed:
npx kysely seed run --specific testseed
npx kysely seed run --specific=testseed
npx kysely seed run --specific 1765585112853_testseed
npx kysely seed run --specific=1765585112853_testseed
npx kysely seed run --specific 1765585112853_testseed.ts
npx kysely seed run --specific=1765585112853_testseed.ts
npx kysely seed run --specific seeds/1765585112853_testseed.ts
npx kysely seed run --specific=seeds/1765585112853_testseed.ts
npx kysely seed run --specific ./seeds/1765585112853_testseed.ts
npx kysely seed run --specific=./seeds/1765585112853_testseed.tsAll of them log Starting seed run No seeds found.
My question is, how do I run a specific seed file?
P.S. I use "kysely-ctl": "0.19.0" and "kysely": "0.28.8".
Metadata
Metadata
Assignees
Labels
No labels