mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-03 03:55:26 +03:00
584bd15b76
refs #7489 - as we are now using a different migration approach (knex-migrator), we don't need to remember the database version anymore - it was once used to check the state of a database and based on it we decided to migrate or not - with knex-migrator everything depends on the migration table entries and the current ghost version you are on - on current master the leftover usage is to add the db version when exporting the database, which can be replaced by reading the ghost version - removing this solves also an interesting migration case with knex-migrator: - you are on 1.0 - you update to 1.1, but 1.1 has no migrations - the db version would remain in 1.0 - because the db version was only updated when knex migrator executed a migration |
||
---|---|---|
.. | ||
api | ||
auth | ||
config | ||
controllers/frontend | ||
metadata | ||
middleware | ||
models/base | ||
models_plugins | ||
scheduling | ||
server_helpers | ||
sitemap | ||
storage | ||
utils | ||
api_utils_spec.js | ||
apps_filters_spec.js | ||
apps_spec.js | ||
errors_spec.js | ||
exporter_spec.js | ||
filters_spec.js | ||
ghost_url_spec.js | ||
importer_spec.js | ||
migration_fixture_utils_spec.js | ||
migration_spec.js | ||
permissions_spec.js | ||
rss_spec.js | ||
server_helpers_index_spec.js | ||
server_helpers_template_spec.js | ||
server_utils_spec.js | ||
showdown_client_integrated_spec.js | ||
slack_spec.js | ||
social-urls_spec.js | ||
utils_pipeline_spec.js | ||
validation_spec.js | ||
xmlrpc_spec.js |