mirror of
https://github.com/nethunterzist/trendyol-analiz
synced 2026-07-01 17:37:04 +00:00
- FastAPI backend with Python - React + Vite admin panel - PostgreSQL database - Trendyol marketplace analytics - GitHub Actions CI/CD workflow Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
69 lines
1.4 KiB
INI
69 lines
1.4 KiB
INI
# Alembic Configuration File
|
|
# Trendyol Product Dashboard - Database Migrations
|
|
|
|
[alembic]
|
|
# Path to migration scripts
|
|
script_location = alembic
|
|
|
|
# Template for revision IDs
|
|
# file_template = %%(rev)s_%%(slug)s
|
|
|
|
# Truncate revision in changelog
|
|
truncate_slug_length = 40
|
|
|
|
# Enable prepend_sys_path
|
|
prepend_sys_path = .
|
|
|
|
# Timezone for revision creation
|
|
# timezone =
|
|
|
|
# Max length for migration script names
|
|
# version_path_separator = os # Use os.pathsep (default) or '/'
|
|
|
|
# Output encoding for migration scripts
|
|
output_encoding = utf-8
|
|
|
|
# SQLAlchemy URL - uses environment variable DATABASE_URL
|
|
# In Docker: postgresql://postgres:trendyol123@postgres:5432/trendyol_db
|
|
# Local: postgresql://postgres:trendyol123@localhost:5433/trendyol_db
|
|
# Note: This is overridden by env.py using DATABASE_URL environment variable
|
|
sqlalchemy.url = postgresql://postgres:trendyol123@localhost:5433/trendyol_db
|
|
|
|
[post_write_hooks]
|
|
# Post-write hooks (none configured)
|
|
|
|
# Logging configuration
|
|
[loggers]
|
|
keys = root,sqlalchemy,alembic
|
|
|
|
[handlers]
|
|
keys = console
|
|
|
|
[formatters]
|
|
keys = generic
|
|
|
|
[logger_root]
|
|
level = WARN
|
|
handlers = console
|
|
qualname =
|
|
|
|
[logger_sqlalchemy]
|
|
level = WARN
|
|
handlers =
|
|
qualname = sqlalchemy.engine
|
|
|
|
[logger_alembic]
|
|
level = INFO
|
|
handlers =
|
|
qualname = alembic
|
|
|
|
[handler_console]
|
|
class = StreamHandler
|
|
args = (sys.stderr,)
|
|
level = NOTSET
|
|
formatter = generic
|
|
|
|
[formatter_generic]
|
|
format = %(levelname)-5.5s [%(name)s] %(message)s
|
|
datefmt = %H:%M:%S
|