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

Update documentation with information on seeds.

Open
#774 2 comments 0 reactions 0 assignees View on GitHub
Difficulty: Easy good first issue hacktoberfest question
Dominant language
Elixir
Stars
234
Forks
82
PR merge metrics
No merged PRs in 30d

Description

# 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.