Ghost/core/test/integration/model
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
..
base 🎨 change how we get and set config 2016-09-20 15:59:34 +01:00
model_accesstoken_spec.js improvement: jshint/jscs 2016-06-17 22:59:47 +02:00
model_app-fields_spec.js improvement: jshint/jscs 2016-06-17 22:59:47 +02:00
model_app-settings_spec.js improvement: jshint/jscs 2016-06-17 22:59:47 +02:00
model_apps_spec.js improvement: jshint/jscs 2016-06-17 22:59:47 +02:00
model_invite_spec.js 🎨 Separate invites from user 2016-09-26 11:08:43 +02:00
model_permissions_spec.js improvement: jshint/jscs 2016-06-17 22:59:47 +02:00
model_posts_spec.js Migration: New database versioning (#7499) 2016-10-06 14:50:55 +01:00
model_roles_spec.js improvement: jshint/jscs 2016-06-17 22:59:47 +02:00
model_settings_spec.js improvement: jshint/jscs 2016-06-17 22:59:47 +02:00
model_tags_spec.js improvement: jshint/jscs 2016-06-17 22:59:47 +02:00
model_users_spec.js Migration: New database versioning (#7499) 2016-10-06 14:50:55 +01:00