mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-30 06:12:03 +03:00
d0e71524ca
refs https://github.com/TryGhost/Toolbox/issues/174 - right now, our migrations manually check the client of the knex instance to see whether we're running on MySQL or SQLite - that's been working fine, but the problem is that we're due to switch to the mysql2 driver soon, so all these checks will be faulty - i've altered the functionality of `@tryghost/database-info` to accept a knex instance, and it'll return if the DB is MySQL or SQLite in some helper functions - this commit bumps the package and switches to that format - originally I used a shared instance of the class within `@tryghost/database-info` but there's a chance that the knex instance inside migrations actually comes from knex-migrator, and not Ghost, so that wouldn't work |
||
---|---|---|
.. | ||
2022-01-20-05-55-add-post-products-table.js | ||
2022-01-30-15-17-set-welcome-page-url-from-settings.js | ||
2022-02-01-11-48-update-email-recipient-filter-column-type.js | ||
2022-02-01-12-03-update-recipient-filter-column-type.js | ||
2022-02-02-10-38-add-default-content-visibility-tiers-setting.js | ||
2022-02-02-13-10-transform-specific-tiers-default-content-visibility.js | ||
2022-02-04-04-34-populate-empty-portal-products.js |