3 Replies
tthe schema and relations is created you can now use db from index.ts
Like you can do what you want to do.
???
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.
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