Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

void db: adopt a database already migrated by Drizzle

Offen
#470 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
55/100
Issue-Typ
Dokumentation
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
postgresql, typescript
Bereich
database

Rechercherichtung

Read the migration history handling in packages/void/src/migrations/runner-pg.ts, especially the lines linked in the issue, and compare it with the existing hand-written migrations guide at void.cloud/guide/database#hand-written-migrations. Document a step for marking Drizzle-applied migrations as applied in Void; done means the first void deploy applies only migrations that are new.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

What

No page explains how to bring an existing PostgreSQL database, already migrated by Drizzle's migrate(), under Void's migration history.

Void records applied migrations in its own _void_migrations table and reads only that table (runner-pg.ts). Drizzle's migrator keeps its history in a different table, so Void's first deploy treats none of those migrations as applied.
Hand-written migrations covers attaching Drizzle metadata to SQL files, not marking them as applied.

Our production database on Neon has a Drizzle migration history. Without a way to keep that history, the move to Void can't start.

Done when

A documented step marks an existing database's migrations as applied, so the first void deploy applies only new ones.

Vorherrschende Sprache
TypeScript
Sterne
402
Forks
32
Ø Merge
12 Std. 28 Min.
Gemergte PRs (30 T.)
77

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus voidzero-dev/void

Alle Issues in voidzero-dev/void

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.