Goal-Calibration/data/wipeDb.php

12 lines
211 B
PHP

<?php
$files = [
'texts.json',
'nodes.json',
];
foreach ($files as $file) {
echo __DIR__."/$file";
$path = __DIR__."/$file";
file_put_contents($path, json_encode([], JSON_PRETTY_PRINT));
}