A declarative host provisioning system.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

alembic.ini 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. # A generic, single database configuration.
  2. [alembic]
  3. # path to migration scripts
  4. script_location = alembic
  5. # template used to generate migration files
  6. # file_template = %%(rev)s_%%(slug)s
  7. # max length of characters to apply to the
  8. # "slug" field
  9. #truncate_slug_length = 40
  10. # set to 'true' to run the environment during
  11. # the 'revision' command, regardless of autogenerate
  12. # revision_environment = false
  13. # set to 'true' to allow .pyc and .pyo files without
  14. # a source .py file to be detected as revisions in the
  15. # versions/ directory
  16. # sourceless = false
  17. # version location specification; this defaults
  18. # to alembic/versions. When using multiple version
  19. # directories, initial revisions must be specified with --version-path
  20. # version_locations = %(here)s/bar %(here)s/bat alembic/versions
  21. # the output encoding used when revision files
  22. # are written from script.py.mako
  23. # output_encoding = utf-8
  24. sqlalchemy.url = driver://user:pass@localhost/dbname
  25. # Logging configuration
  26. [loggers]
  27. keys = root,sqlalchemy,alembic
  28. [handlers]
  29. keys = console
  30. [formatters]
  31. keys = generic
  32. [logger_root]
  33. level = WARN
  34. handlers = console
  35. qualname =
  36. [logger_sqlalchemy]
  37. level = WARN
  38. handlers =
  39. qualname = sqlalchemy.engine
  40. [logger_alembic]
  41. level = INFO
  42. handlers =
  43. qualname = alembic
  44. [handler_console]
  45. class = StreamHandler
  46. args = (sys.stderr,)
  47. level = NOTSET
  48. formatter = generic
  49. [formatter_generic]
  50. format = %(levelname)-5.5s [%(name)s] %(message)s
  51. datefmt = %H:%M:%S