No Description

alembic.ini 770B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # A generic, single database configuration.
  2. [alembic]
  3. # template used to generate migration files
  4. # file_template = %%(rev)s_%%(slug)s
  5. # set to 'true' to run the environment during
  6. # the 'revision' command, regardless of autogenerate
  7. # revision_environment = false
  8. # Logging configuration
  9. [loggers]
  10. keys = root,sqlalchemy,alembic
  11. [handlers]
  12. keys = console
  13. [formatters]
  14. keys = generic
  15. [logger_root]
  16. level = WARN
  17. handlers = console
  18. qualname =
  19. [logger_sqlalchemy]
  20. level = WARN
  21. handlers =
  22. qualname = sqlalchemy.engine
  23. [logger_alembic]
  24. level = INFO
  25. handlers =
  26. qualname = alembic
  27. [handler_console]
  28. class = StreamHandler
  29. args = (sys.stderr,)
  30. level = NOTSET
  31. formatter = generic
  32. [formatter_generic]
  33. format = %(levelname)-5.5s [%(name)s] %(message)s
  34. datefmt = %H:%M:%S