浏览代码

Seed two basic accounts with make seed

feature/tags
Bèr Kessels 1年前
父节点
当前提交
9308763055
共有 2 个文件被更改,包括 5 次插入0 次删除
  1. 3
    0
      Makefile
  2. 2
    0
      test/fixtures/input/basic_users.jsonl

+ 3
- 0
Makefile 查看文件

@@ -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 查看文件

@@ -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" }

正在加载...
取消
保存