killercup / killercup/scribbles
What about migrations?
- 主要言語
- CSS
- スター
- 68
- フォーク
- 11
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
I stumbled on your post while researching how to use postgres views with diesel. I had seen this workaround before but this articled helped solidify some things I was thinking about.
What it does not mention though is that if you manager your schema with migrations, Diesel will leave you in the cold, because it only prints-schemas with tables and such... Views will go missing every time diesel regenerates your schema file.
A way to fix that is to use the patch_file config in the diesel.toml... If you create a patch file from the diff of your view in the schema.rs file, it will apply the patch AFTER it generates the schema and you have your views remaining in the schema.rs.
Hopefully this helps someone
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
The issue describes a Diesel migration and schema-generation workaround but names no documentation file, test, or concrete change. Start by locating the referenced post and its source, then determine where migration-related guidance belongs. Done would require an agreed documentation target and clear coverage of the reported views behavior.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- postgres
- 領域
- databases, documentation
- issue の種類
- ドキュメント
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 20/100