Lines Matching refs:migrations
13 'AUTOTEST_WEB': os.path.join(_AUTODIR, 'frontend', 'migrations'),
14 'TKO': os.path.join(_AUTODIR, 'tko', 'migrations'),
18 _DEFAULT_MIGRATIONS_DIR = 'migrations' # use CWD
85 """Managest database migrations."""
94 # simulated rather than actually taken. For use with migrations that
194 """Gets the list of migrations to perform.
206 migrations = [Migration.from_file(filename)
209 migrations = [migration for migration in migrations
212 migrations = [migration for migration in migrations
214 return migrations
256 migrations = self.get_migrations(lower + 1, upper)
258 migrations.reverse()
259 for migration in migrations:
298 migrations = self.get_migrations()
299 return migrations[-1].version
361 """Create a fresh database and run all migrations on it.