mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Database naming fix
This commit is contained in:
parent
5aea35f8fa
commit
61d14a0eda
2
.github/workflows/mysql.yaml
vendored
2
.github/workflows/mysql.yaml
vendored
@ -17,7 +17,7 @@ jobs:
|
||||
MYSQL_USER: inventree
|
||||
MYSQL_PASSWORD: password
|
||||
MYSQL_ROOT_PASSWORD: password
|
||||
MYSQL_DATABASE: inventree_test_db
|
||||
MYSQL_DATABASE: test_inventree
|
||||
options: --health-cmd="mysqladmin ping" --health-interval=5s --health-timeout=2s --health-retries=3
|
||||
ports:
|
||||
- 3306:3306
|
||||
|
@ -11,7 +11,7 @@ if 'test' in sys.argv:
|
||||
DATABASES['default'] = {
|
||||
# Ensure mysql backend is being used
|
||||
'ENGINE': 'django.db.backends.mysql',
|
||||
'NAME': 'inventree_test_db',
|
||||
'NAME': 'inventree',
|
||||
'USER': 'inventree',
|
||||
'PASSWORD': 'password',
|
||||
'HOST': '127.0.0.1',
|
||||
|
Loading…
Reference in New Issue
Block a user