3

Drizzle Migration with Vercel Postgres

 1 month ago
source link: https://gist.github.com/AndrewIngram/ae233ecd58596fd32a7ff1edcc76229a
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Drizzle Migration with Vercel Postgres · GitHub

Instantly share code, notes, and snippets.

  • Star 5 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Clone this repository at <script src="https://gist.github.com/AndrewIngram/ae233ecd58596fd32a7ff1edcc76229a.js"></script>
Save AndrewIngram/ae233ecd58596fd32a7ff1edcc76229a to your computer and use it in GitHub Desktop.
Drizzle Migration with Vercel Postgres

Generate migrations with:

pnpm drizzle-kit generate:pg

Run with:

pnpm tsx ./migrate.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK