From 924ae958b7e3c392a284ba995019df0a1c475f85 Mon Sep 17 00:00:00 2001 From: Jeremiasz Major Date: Thu, 2 May 2024 15:24:56 +0200 Subject: [PATCH] remove db exporter --- app/Console/Commands/DbExport.php | 34 ------------------------------- storage/.gitignore | 1 - 2 files changed, 35 deletions(-) delete mode 100644 app/Console/Commands/DbExport.php delete mode 100644 storage/.gitignore diff --git a/app/Console/Commands/DbExport.php b/app/Console/Commands/DbExport.php deleted file mode 100644 index 5a99a086..00000000 --- a/app/Console/Commands/DbExport.php +++ /dev/null @@ -1,34 +0,0 @@ - (array) $r, - ); - - foreach ($tables as $table) { - $data = DB::table($table)->get(); - - File\write("{$dir}/{$table}.json", Json\encode($data, true)); - } - } -} diff --git a/storage/.gitignore b/storage/.gitignore deleted file mode 100644 index 2be883ae..00000000 --- a/storage/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/export-*/