drizzle-orm
drizzle-orm copied to clipboard
how do you get any infomation about migrations?
Discussed in https://github.com/drizzle-team/drizzle-orm/discussions/285
Originally posted by toddgeist March 19, 2023
the migrate from "drizzle-orm/better-sqlite3/migrator" works, but there is no result. There also doesn't seem to be any way to see if there are migrations that need to be performed.
How can I log what the migrator just did? or get any info about migrations.
Thanks
Todd
You can create your own logger. This is for postgres, but I assume it would be similar with sqlite.
Output:
