on every `migrate()`: schema "drizzle" already exists, skipping
Hi there! I have setuped a postgres DB. Everytime I call migrate(), it works and migrates, but returns these two warnings:
Does anyone have an idea on why this happens and how I can stop it from happening? Clogs up my console 😄 Thanks!
--
I am using postgres-js@3.3.5, drizzle-orm@0.28.5, drizzle-kit@0.19.13
8 Replies
Ah and I am connected to a supabase postgres instance, using the pg bouncer connection string
Hello,
As for now, there is no way to hide these messages (they come from the driver)
I saw somebody was able to disable those https://discord.com/channels/1043890932593987624/1144213507424923800/1144254661512155176
He passed an empty function to
onnotice
field in the config object of the pg connection.Ah thanks!
@angelelz Thanks! Haven't seen that one.
Hi @madebyfabian how to fixed ?
@productdevbook hi, check the answer from @angelelz
Not a fix but at least silences it
thank you, It seems better to open this. It didn't create a table for me, so I deleted Docker and installed it again and it created it.