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

Update documentation with information on seeds.

Aperta
#774 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Difficulty: Easy good first issue hacktoberfest question
Lingua principale
Elixir
Stelle
234
Fork
82
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.