Support custom `CREATE DATABASE` statements

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
postgresql, typescript
領域
databases

調査の方向性

issue にはファイル、テスト、エントリーポイントが指定されていません。まず PostgreSQL データベースの再作成ロジックと既存のマイグレーション設定を探し、次にカスタム CREATE DATABASE 文をどのように渡して検証すべきかを確認してください。再作成されたデータベースが、要求された UTF8、ICU ロケール、template0 の設定を保持すれば完了です。

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

説明

Feature description

I'm developing an application which is highly sweden-centric. For this reason, I use the following setup:

CREATE DATABASE
  dansdata
WITH
  ENCODING 'UTF8'
  LOCALE_PROVIDER icu
  ICU_LOCALE "sv-SE"
  TEMPLATE template0;

However, these settings are not respected when the database is recreated by graphile-migrate.

Motivating example

I think it is important that migrations etc. are tested as close to production settings as possible.

Supporting development

I [tick all that apply]:

  • am interested in building this feature myself
  • am interested in collaborating on building this feature
  • am willing to help testing this feature before it's released
  • am willing to write a test-driven test suite for this feature (before it exists)
  • am a Graphile sponsor ❤️
  • have an active support or consultancy contract with Graphile
主要言語
TypeScript
スター
836
フォーク
71
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

graphile/migrate のほかの issue

graphile/migrate の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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