code-corps / code-corps/code-corps-api

Update documentation with information on seeds.

未關閉
#774 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
Difficulty: Easy good first issue hacktoberfest question
主要語言
Elixir
星號
234
分支
82
PR 合併指標
30 天內沒有已合併 PR

描述

# Problem

The contribution documents should have instructions on how to handle seeds. Something along the lines of

# Suggested content

Make sure you update `priv/repo/seeds.exs` if your PR is doing anything to the schema, schema validations or anything that might be related.

When you submit your PR, run `mix ecto.reset`. This will drop and recreate the database, run all migrations and then run the seeds script. This command should always succeed.

# /end

The exact content should be discussed here.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。