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
30 31 32 33 34 35 36 37 38 | |
pelican.loader.load_migration_file
load_migration_file(file_path)
Load a single migration file into the system.
Source code in pelican/loader.py
18 19 20 21 22 23 24 25 26 27 | |
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
7 8 9 10 11 12 13 14 15 | |