Ghost/core/test/integration/api
Katharina Irrgang e2e83a0f7b Migration: New database versioning (#7499)
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
2016-10-06 14:50:55 +01:00
..
advanced_browse_spec.js improvement: jshint/jscs 2016-06-17 22:59:47 +02:00
api_authentication_spec.js Ghost OAuth (#7451) 2016-09-30 12:45:59 +01:00
api_configuration_spec.js Switch to new native system font stack (#7219) 2016-08-18 20:29:46 +01:00
api_db_spec.js Migration: New database versioning (#7499) 2016-10-06 14:50:55 +01:00
api_invites_spec.js 🎨 Use GhostAuth name and example emails (#7475) 2016-10-03 15:11:43 +01:00
api_mail_spec.js 🚨 change logic for test/utils/configUtils 2016-09-20 15:59:34 +01:00
api_notifications_spec.js Fix upgrade notification type value (#7308) 2016-09-01 17:58:46 +02:00
api_posts_spec.js 🚨 change logic for test/utils/configUtils 2016-09-20 15:59:34 +01:00
api_roles_spec.js 🎨 configurable logging with bunyan (#7431) 2016-10-04 16:33:43 +01:00
api_schedules_spec.js 🎨 change how we get and set config 2016-09-20 15:59:34 +01:00
api_settings_spec.js 💄 Remove duplicate test assertion (#7233) 2016-08-19 16:38:56 +02:00
api_slugs_spec.js improvement: jshint/jscs 2016-06-17 22:59:47 +02:00
api_subscription_spec.js feature: upload validation middleware (#7208) 2016-08-18 20:25:51 +01:00
api_tags_spec.js improvement: jshint/jscs 2016-06-17 22:59:47 +02:00
api_users_spec.js 🎨 Separate invites from user 2016-09-26 11:08:43 +02:00