only ignore json files in data dir, tracking seed and wipe scripts

This commit is contained in:
Yisroel Baum 2026-04-15 21:10:07 +03:00
parent 7e674af40a
commit 7ee4bac3fa
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
3 changed files with 29 additions and 1 deletions

11
data/wipeDb.php Normal file
View file

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