This commit is contained in:
Eden Kirin
2023-09-15 19:43:58 +02:00
parent d4a04adfda
commit f57c4d4491
3 changed files with 12 additions and 3 deletions

View File

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

View File

@ -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):

View File

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