Home
last modified time | relevance | path

Searched refs:migrations_dir (Results 1 – 2 of 2) sorted by relevance

/external/autotest/database/
Dmigrate.py88 migrations_dir = None variable in MigrationManager
90 def __init__(self, database_connection, migrations_dir=None, force=False): argument
97 self._set_migrations_dir(migrations_dir)
100 def _set_migrations_dir(self, migrations_dir=None): argument
102 if migrations_dir is None:
103 migrations_dir = os.path.abspath(
105 self.migrations_dir = migrations_dir
106 sys.path.append(migrations_dir)
107 assert os.path.exists(migrations_dir), migrations_dir + " doesn't exist"
203 in os.listdir(self.migrations_dir)
Dmigrate_unittest.py57 def _set_migrations_dir(self, migrations_dir=None): argument