Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

void db: adopt a database already migrated by Drizzle

オープン
#470 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
55/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
活発
技術スタック
postgresql, typescript
領域
database

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
TypeScript
スター
402
フォーク
32
平均マージ
10時間 18分
マージ済み PR(30日)
113

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

voidzero-dev/void のほかの issue

voidzero-dev/void の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。