seed users plans scheduled nodes
This commit is contained in:
parent
7c4d7a93c1
commit
2b482cdc74
1 changed files with 13 additions and 0 deletions
|
|
@ -28,9 +28,22 @@ $nodes = [
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
$users = [
|
||||||
|
[
|
||||||
|
'id' => 0,
|
||||||
|
'email' => 'user@example.com',
|
||||||
|
],
|
||||||
|
];
|
||||||
|
|
||||||
|
$plans = [];
|
||||||
|
$scheduledNodes = [];
|
||||||
|
|
||||||
$fileDataMap = [
|
$fileDataMap = [
|
||||||
'texts.json' => $texts,
|
'texts.json' => $texts,
|
||||||
'nodes.json' => $nodes,
|
'nodes.json' => $nodes,
|
||||||
|
'users.json' => $users,
|
||||||
|
'plans.json' => $plans,
|
||||||
|
'scheduledNodes.json' => $scheduledNodes,
|
||||||
];
|
];
|
||||||
|
|
||||||
foreach ($fileDataMap as $file => $data) {
|
foreach ($fileDataMap as $file => $data) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue