mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-12 06:25:51 +03:00
e2e83a0f7b
refs #7489 - new database versioning scheme which is based upon the Ghost version, and so easier to reason about - massive refactor of all the version related code Summary of changes: * ✨ new error: DatabaseNotSeeded * 🎨 change versioning module - versioning is based on Ghost Version * 🎨 change bootUp file - add big picture description - version error get's trigger from versioning module * 🎨 default setting for database version is null - very important change: this is caused by the big picture - see bootUp description - the database version get's set by the seed script later - db version is by default null - 1. population happens (we ensure that this has finished, by checking if each table exists) - 2. seeds happening (we ensure that seeds happend if database version is set to X.X) * 🎨 temporary change for population logic - set database version after population happens - ensure population of default settings happend before - both: get's removed in next iteration * 🎨 adapt tests && mark TODO's * 🎨 err instance checking |
||
---|---|---|
.. | ||
advanced_browse_spec.js | ||
api_authentication_spec.js | ||
api_configuration_spec.js | ||
api_db_spec.js | ||
api_invites_spec.js | ||
api_mail_spec.js | ||
api_notifications_spec.js | ||
api_posts_spec.js | ||
api_roles_spec.js | ||
api_schedules_spec.js | ||
api_settings_spec.js | ||
api_slugs_spec.js | ||
api_subscription_spec.js | ||
api_tags_spec.js | ||
api_users_spec.js |