Tweaks
This commit is contained in:
@ -48,3 +48,12 @@ EMAIL_NEW_AUTHOR_SUBJECT="New Author Added"
|
||||
EMAIL_PORT=1025
|
||||
EMAIL_RECIPIENT=someone@somewhere.com
|
||||
EMAIL_SENDER=root@localhost
|
||||
|
||||
# Tests
|
||||
TESTS_DB_HOST=localhost
|
||||
TESTS_DB_PORT=5432
|
||||
TESTS_DB_NAME=test_db-name
|
||||
TESTS_DB_USER=db-user
|
||||
TESTS_DB_PASSWORD=db-password
|
||||
TESTS_DROP_DATABASE_BEFORE_TESTS=True
|
||||
TESTS_DROP_DATABASE_AFTER_TESTS=True
|
||||
|
||||
@ -94,8 +94,8 @@ class TestingSettings(BaseEnvSettings):
|
||||
DB_NAME: str = "test_db-name"
|
||||
DB_USER: str = "db-user"
|
||||
DB_PASSWORD: str = "db-password"
|
||||
DROP_DATABASE_BEFORE_TESTS = True
|
||||
DROP_DATABASE_AFTER_TESTS = True
|
||||
DROP_DATABASE_BEFORE_TESTS: bool = True
|
||||
DROP_DATABASE_AFTER_TESTS: bool = True
|
||||
|
||||
|
||||
class ServerSettings(BaseEnvSettings):
|
||||
|
||||
@ -31,7 +31,7 @@ flyway.baselineVersion=0000
|
||||
|
||||
flyway.baselineOnMigrate=false
|
||||
|
||||
flyway.outOfOrder=true
|
||||
flyway.outOfOrder=false
|
||||
flyway.validateMigrationNaming=true
|
||||
# This allows you to tie in custom code and logic to the Flyway lifecycle notifications (default: empty).
|
||||
# Set this to a comma-separated list of fully qualified class names of org.flywaydb.core.api.callback.Callback
|
||||
|
||||
Reference in New Issue
Block a user