mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
Fixed data generator crating webhooks linked to intergrations
- This is needed to prevent FK failures
This commit is contained in:
parent
e52dc87b7c
commit
cc0a655a3d
1 changed files with 2 additions and 0 deletions
|
@ -543,6 +543,8 @@ DataGenerator.Content = {
|
|||
DataGenerator.Content.subscribers[0].post_id = DataGenerator.Content.posts[0].id;
|
||||
DataGenerator.Content.api_keys[0].integration_id = DataGenerator.Content.integrations[0].id;
|
||||
DataGenerator.Content.api_keys[1].integration_id = DataGenerator.Content.integrations[0].id;
|
||||
DataGenerator.Content.webhooks[0].integration_id = DataGenerator.Content.integrations[0].id;
|
||||
DataGenerator.Content.webhooks[1].integration_id = DataGenerator.Content.integrations[0].id;
|
||||
DataGenerator.Content.emails[0].post_id = DataGenerator.Content.posts[0].id;
|
||||
DataGenerator.Content.emails[1].post_id = DataGenerator.Content.posts[1].id;
|
||||
DataGenerator.Content.email_batches[0].email_id = DataGenerator.Content.emails[0].id;
|
||||
|
|
Loading…
Add table
Reference in a new issue