alembic.ini.mako 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # a Pylons configuration.
  2. [alembic]
  3. # path to migration scripts
  4. script_location = ${script_location}
  5. # template used to generate migration files
  6. # file_template = %%(rev)s_%%(slug)s
  7. # timezone to use when rendering the date
  8. # within the migration file as well as the filename.
  9. # string value is passed to dateutil.tz.gettz()
  10. # leave blank for localtime
  11. # timezone =
  12. # max length of characters to apply to the
  13. # "slug" field
  14. #truncate_slug_length = 40
  15. # set to 'true' to run the environment during
  16. # the 'revision' command, regardless of autogenerate
  17. # revision_environment = false
  18. # set to 'true' to allow .pyc and .pyo files without
  19. # a source .py file to be detected as revisions in the
  20. # versions/ directory
  21. # sourceless = false
  22. # version location specification; this defaults
  23. # to ${script_location}/versions. When using multiple version
  24. # directories, initial revisions must be specified with --version-path
  25. # version_locations = %(here)s/bar %(here)s/bat ${script_location}/versions
  26. # the output encoding used when revision files
  27. # are written from script.py.mako
  28. # output_encoding = utf-8
  29. pylons_config_file = ./development.ini
  30. # that's it !