Ionic capacitor get list of all SQLite databases for the purpose of versioning

Please describe the question in detail and share your code, configur I have a Ionic angular application which creates an SQLite DB on first install like so

    this.platform.ready().then(() => {
      this.sqlite.create({
        name: this.dbName,
        location: 'default'
      }).then((sqLite: SQLiteObject) => {

lets say this.dbName is call database-v1 and then I release a updated and a user updates the app and now I have set a new name eg database-v2

How can I check if database-v1 exists first? So that I know to run the sync scripts before switching to v2? Is it possible to get a list of all current DB names for example?

Thanks for any help