mirror of
https://github.com/simple-login/app.git
synced 2025-09-07 07:04:18 +08:00
Add more fake data
This commit is contained in:
parent
8639265946
commit
9727473b45
1 changed files with 4 additions and 1 deletions
|
@ -151,7 +151,10 @@ def fake_data():
|
|||
db.session.commit()
|
||||
|
||||
api_key = ApiKey.create(user_id=user.id, name="Chrome")
|
||||
api_key.code = "code"
|
||||
api_key.code = "codeCH"
|
||||
|
||||
api_key = ApiKey.create(user_id=user.id, name="Firefox")
|
||||
api_key.code = "codeFF"
|
||||
|
||||
GenEmail.create_new(user.id, "e1@")
|
||||
GenEmail.create_new(user.id, "e2@")
|
||||
|
|
Loading…
Add table
Reference in a new issue