From 39fc13dfe20ee1d1d8b58c1f7e06cdddb8b89eb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Munsch?= Date: Wed, 6 Sep 2023 17:06:33 +0200 Subject: [PATCH] re set oci_migration elements --- .../migrations/2023_12_06_124752_migrate_oci_tables.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/database/migrations/2023_12_06_124752_migrate_oci_tables.php b/database/migrations/2023_12_06_124752_migrate_oci_tables.php index c20fcda..61dd524 100644 --- a/database/migrations/2023_12_06_124752_migrate_oci_tables.php +++ b/database/migrations/2023_12_06_124752_migrate_oci_tables.php @@ -63,6 +63,8 @@ return new class extends Migration */ public function up(): void { + // ! DEV: Uncomment this to skip the migration + // return; $console = new ConsoleOutput(); $section = $console->section(); @@ -97,7 +99,7 @@ return new class extends Migration $this->fixForeignKeyActionOnProcesses(); // ! DEV: Comment this after running once, to develop a migration without remigrating every temp table. - // $this->createAndFillTempTables(); + $this->createAndFillTempTables(); // * Migrate PRODUCTS, comment all except the one you want to develop here. $this->migrateBrands(); @@ -105,7 +107,7 @@ return new class extends Migration // ! DEV: Add a die here to develop migration and prevent droping temp tables - dd('toto'); + // dd(''); $this->dropTempTables(); $section->clear();