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 摘要。