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

Update documentation with information on seeds.

Offen
#774 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Difficulty: Easy good first issue hacktoberfest question
Vorherrschende Sprache
Elixir
Sterne
234
Forks
82
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.