Loader
pelican.loader.load_migrations
load_migrations(migrations_dir='db/migrations')
Load and register all migration files from the specified directory.
Source code in pelican/loader.py
33 34 35 36 37 38 39 40 41 42 43 44 | |
pelican.loader.load_migration_file
load_migration_file(file_path)
Load a single migration file into the system.
Source code in pelican/loader.py
21 22 23 24 25 26 27 28 29 30 | |
pelican.loader.discover_migration_files
discover_migration_files(migrations_dir)
Return a sorted list of migration files in the specified directory.
Source code in pelican/loader.py
10 11 12 13 14 15 16 17 18 | |