Can I create a default row when `drizzle-kit push`
I have a
config
table and I want to have some default data when push to db. Can drizzle-kit create it automatically for me? Maybe like database seeding?2 Replies
It is planned but as for now you have to do your own seeding script.
you can look at https://discord.com/channels/1043890932593987624/1141321911155036232/1141364577829912586
(tsx is a package to install as dev dependencies, it replace ts-node to run ts script)
I see. Thx a lot