0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00
ghost/core/server/utils
Katharina Irrgang 584bd15b76 🔥 remove database version (#7894)
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
2017-01-26 12:12:00 +00:00
..
asset-hash.js 🐛 Refresh assetHash on theme override (#7430) 2016-09-23 13:05:44 +02:00
cached-image-size-from-url.js [FEATURE] AMP (#7229) 2016-08-22 18:49:27 +02:00
downzero.js
ghost-version.js Misc Middleware cleanup (#7526) 2016-10-10 21:14:32 +02:00
gravatar.js 🎨 change gravatar file design (#7553) 2016-10-13 13:52:22 +01:00
image-size-from-url.js 🎨 source out url utils from ConfigManager (#7347) 2016-09-20 15:59:34 +01:00
index.js 🔥 remove database version (#7894) 2017-01-26 12:12:00 +00:00
labs.js 🎨 change how we get and set config 2016-09-20 15:59:34 +01:00
make-absolute-urls.js 🎨 source out url utils from ConfigManager (#7347) 2016-09-20 15:59:34 +01:00
parse-package-json.js
pipeline.js
read-csv.js Add CSV parser for csv read utility 2016-06-07 10:47:56 +01:00
read-directory.js
read-themes.js
remove-open-redirect-from-url.js Remove open redirect by removing double slashes from redirects (#7247) 2016-08-23 13:47:59 +02:00
sequence.js post-scheduling 2016-06-14 10:52:13 +02:00
social-urls.js Add helpers for facebook & twitter urls 2016-05-17 16:39:58 +01:00
tokens.js 🎨 remove token logic from user model (#7622) 2016-11-07 11:18:50 +00:00
url.js More consistant usage of urlFor('home') (#7689) 2017-01-23 09:22:37 +01:00
visibility-filter.js Move internal tags out of labs (#7519) 2016-10-10 09:51:03 +01:00
zip-folder.js Use node-archiver to create zips (#7268) 2016-08-25 09:22:22 +02:00