public function migrateDirectoryUp($dir, $flushDatabase = false): Awaitable
    {
        $config = new MigrationConfig();
        $config->loadMigrationsFromDirectory($dir);
        
        return $this->migrateUp($config, $flushDatabase);
    }