How to migrate tables from local to neon?
I am using docker for local development using postgres but when I run
pnpm drizzle-kit migrate
it show me success message migrations applied
but when i check neon tables there is nothing. no tables.
I confirm I have changed the database connection string in the env with neon.
I have followed this guide to create docker setup https://neon.tech/guides/drizzle-local-vercel
That's confusing because after success message there should be tables but not.
lib/db/index.ts
docker-compose.yml
drizzle.config.ts
Neon
Drizzle with Local and Serverless Postgres - Neon Guides
A step-by-step guide to configure Drizzle ORM for local and serverless Postgres.
3 Replies
flat-fuchsiaOP•5mo ago
@Rishi Raj Jain bro can you help??
@Mahmoud any help??
national-gold•5mo ago
Can you prehaps log the connection string?
that's only thing I can think of
flat-fuchsiaOP•5mo ago
yes connection string is working and correct that's why it gives me the message migration applied successfully