void db: adopt a database already migrated by Drizzle
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
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus voidzero-dev/void
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
voidzero-dev/void#478 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
voidzero-dev/void#463 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
voidzero-dev/void#459 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 78/100
voidzero-dev/void#428 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 68/100
voidzero-dev/void#480 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in voidzero-dev/void
Ähnliche Issues
-
freshness freshness:observed-only
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
thoroc/context-radar#280 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
-
documentation story
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
Maintainer antworten meist innerhalb von 1 Tag
-
Billing: computeBundleEconomicsFrom treats a NULL component cost as 0, inflating bundle marginOffenbug category:billing priority:p3 track:fast
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
LanternOps/breeze#9223 ·
Maintainer antworten meist innerhalb von 1 Tag