mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 09:52:06 +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 |
||
---|---|---|
.. | ||
01-update-mobiledoc.js | ||
02-add-status-column-to-members.js | ||
03-populate-status-column-for-members.js | ||
04-drop-apps-related-tables.js | ||
05-add-members-subscribe-events-table.js | ||
06-populate-members-subscribe-events-table.js | ||
07-alter-unique-constraint-for-posts-slug.js | ||
08-add-members-login-events-table.js | ||
09-add-members-email-change-events-table.js | ||
10-add-members-status-events-table.js | ||
11-add-members-paid-subscription-events-table.js | ||
12-delete-apps-related-settings-keys.js | ||
13-add-members-payment-events-table.js | ||
14-remove-orphaned-stripe-records.js | ||
15-add-frontmatter-column-to-meta.js | ||
16-refactor-slack-setting.js | ||
17-populate-members-status-events-table.js | ||
18-transform-urls-absolute-to-transform-ready.js | ||
19-remove-labs-members-setting.js | ||
20-refactor-unsplash-setting.js | ||
21-sanitize-email-batches-provider-id.js | ||
22-solve-orphaned-webhooks.js | ||
23-regenerate-posts-html.js | ||
24-add-missing-email-permissions.js | ||
25-populate-members-paid-subscription-events-table.js | ||
26-add-cascade-on-delete.js | ||
27-add-primary-key-brute-migrations-lock.js | ||
28-add-webhook-intergrations-foreign-key.js | ||
29-fix-foreign-key-for-members-stripe-customers-subscriptions.js | ||
30-set-default-accent-color.js |