craftcms / cloud-extension-yii2

0 stars 1 forks source link

Add tableExists check #9

Closed timkelty closed 1 year ago

timkelty commented 1 year ago

Description

We need to check for table existence in our bootstrap, which means we cannot use the normal \craft\db\Connection::tableExists, as it relys on the cache component we are trying to configure.

Looking for extra 👀 on the actual query, to see if you spot any issues. I've tested it in mysql and postgres.

@angrybrad are there any potential permissions/multi-tenant issues?