Ghost/core/test/functional/api/v2/admin
Rishabh Garg c638863cb9 Updated webhooks schema and add relation (#10018)
* Extended webhooks schema/model and connected with integrations

refs #9942

- Updated webhooks schema with new columns - name, integration_id, secret, last_triggered_at, api_version
- Updated webhooks and integration model to map relationships
- Updated schema hash
- Updated test utils to exclude new webhooks columns for response comparison

* Added migration script for new webhooks columns

refs #9942

- Added migration script in 2.3 to add new columns to webhooks

* Updated schema hash

* Updated maxLength for api_version in schema

* Removed concurrency value from migration script

* Added defaults for webhooks model

* Added status field to webhooks for last trigger status

* Updated schema hash

* Fixed tests with status field

* Removed concurrency value in migration script

* Cleanup

* Updated schema with new fields

 - last_triggered_status, last_triggered_error
2018-10-17 18:17:13 +07:00
..
invites_spec.js Added invites ctrl to v2 2018-10-12 21:13:20 +02:00
mail_spec.js Added mail ctrl to v2 2018-10-12 21:13:20 +02:00
notifications_spec.js Added notifications ctrl to v2 2018-10-12 21:13:20 +02:00
posts_spec.js Added posts controller to v2 2018-10-12 19:21:43 +02:00
roles_spec.js Migrated roles controller to API v2 2018-10-10 16:48:22 +02:00
settings_spec.js Added settings ctrl to v2 2018-10-12 21:13:20 +02:00
slugs_spec.js Added v2 controller for slugs (#9978) 2018-10-12 17:55:20 +05:30
subscribers_spec.js Added subscribers controller to v2 2018-10-12 22:27:37 +02:00
tags_spec.js Added tags ctrl to v2 (#10000) 2018-10-12 23:10:43 +02:00
upload_spec.js Added upload controller to v1 (#9997) 2018-10-12 22:41:39 +02:00
users_spec.js Corrected functional users v2 test case 2018-10-16 18:20:47 +02:00
utils.js Added doAuth v2 admin api test helper (#9964) 2018-10-09 10:24:41 +07:00
webhooks_spec.js Updated webhooks schema and add relation (#10018) 2018-10-17 18:17:13 +07:00