mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-21 22:13:31 -07:00
Fix user group seed data
This commit is contained in:
parent
e8d7b1f177
commit
a83bd640c0
1 changed files with 3 additions and 1 deletions
|
@ -270,6 +270,7 @@ def upgrade():
|
|||
])
|
||||
op.bulk_insert(groups_table, [
|
||||
{
|
||||
"id": 1,
|
||||
"name": settings.DEFAULT_GROUP,
|
||||
"webhook_enable": False,
|
||||
"webhook_time": "00:00",
|
||||
|
@ -277,10 +278,11 @@ def upgrade():
|
|||
])
|
||||
op.bulk_insert(users_table, [
|
||||
{
|
||||
"id": 1,
|
||||
"full_name": "Change Me",
|
||||
"email": settings.DEFAULT_EMAIL,
|
||||
"password": get_password_hash(settings.DEFAULT_PASSWORD),
|
||||
"group": settings.DEFAULT_GROUP,
|
||||
"group_id": 1,
|
||||
"admin": True,
|
||||
},
|
||||
])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue