0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core/test/unit/data
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
..
db Renamed core/server/data/export to core/server/data/exporter 2018-08-16 12:13:24 +02:00
exporter 🔥 Removed permalink setting 2018-08-16 12:13:24 +02:00
importer Refactored importer tests 2018-08-16 12:13:24 +02:00
meta 🐛 Fixed Disqus comments on post preview pages 2018-07-11 00:20:55 +02:00
schema Updated webhooks schema and add relation (#10018) 2018-10-17 18:17:13 +07:00
validation Removed api integration tests (#9940) 2018-10-06 22:13:52 +02:00
xml/sitemap 🐛Fixed sitemap duplicates after routes.yaml upload (#9957) 2018-10-08 10:29:21 +07:00