seed and wipe sessions file

This commit is contained in:
Yisroel Baum 2026-04-24 13:22:48 +03:00
parent ef842f5758
commit cb73688a99
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
2 changed files with 3 additions and 0 deletions

View file

@ -40,6 +40,7 @@ $users = [
$plans = [];
$scheduledNodes = [];
$sessions = [];
$fileDataMap = [
'texts.json' => $texts,
@ -47,6 +48,7 @@ $fileDataMap = [
'users.json' => $users,
'plans.json' => $plans,
'scheduledNodes.json' => $scheduledNodes,
'sessions.json' => $sessions,
];
foreach ($fileDataMap as $file => $data) {

View file

@ -6,6 +6,7 @@ $files = [
'users.json',
'plans.json',
'scheduledNodes.json',
'sessions.json',
];
foreach ($files as $file) {