Bladeren bron

Seed two basic accounts with make seed

feature/tags
Bèr Kessels 1 jaar geleden
bovenliggende
commit
9308763055
2 gewijzigde bestanden met toevoegingen van 5 en 0 verwijderingen
  1. 3
    0
      Makefile
  2. 2
    0
      test/fixtures/input/basic_users.jsonl

+ 3
- 0
Makefile Bestand weergeven

@@ -15,6 +15,9 @@ db:
make _wait
make _db-setup

seed:
cat test/fixtures/input/basic_users.jsonl | ./bin/sink

# CUSTOM BUILD RULES
test: export APP_ENV=test
test:

+ 2
- 0
test/fixtures/input/basic_users.jsonl Bestand weergeven

@@ -0,0 +1,2 @@
{ "bio": "Fought a snakey guy, now proud father and civil servant", "name": "Harry Potter", "email": "hpotter@example.org", "password": "12345678", "username": "hpotter" }
{ "bio":"In congue. Etiam justo. Etiam pretium iaculis justo.","name":"Ron Weasly","email":"ron@example.org", "password": "12345678", "username": "ron" }

Laden…
Annuleren
Opslaan