Importing existing db

What do you do after running npx drizzle-kit introspect?
No description
3 Replies
Shashank
Shashank3mo ago
tthe schema and relations is created you can now use db from index.ts Like you can do what you want to do.
LordSilver
LordSilverOP3mo ago
??? as i said, you have to move the schema out of migrations folder, relations can be thrown away, and the migration won't work but you can keep using the push instead.
AldiBoi
AldiBoi3mo ago
You cannot move things around as you are doing, you only need to move the files if you are planning to use them somewhere else to use manually, aka outside of any drizzle stuff
Want results from more Discord servers?
Add your server