From 836bd6ae537a405c9b6d439e527c6f917107d846 Mon Sep 17 00:00:00 2001 From: Didier Viret Date: Thu, 9 Nov 2023 15:42:03 +0100 Subject: [PATCH] Fix seeders errors --- .../Migrations/2021-06-14-090828_AddAcquisitionStatus.php | 1 - orif/user/Database/Migrations/2021-03-19-090829_add_user.php | 5 +---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/orif/plafor/Database/Migrations/2021-06-14-090828_AddAcquisitionStatus.php b/orif/plafor/Database/Migrations/2021-06-14-090828_AddAcquisitionStatus.php index 09a2440e..0f8d4eff 100644 --- a/orif/plafor/Database/Migrations/2021-06-14-090828_AddAcquisitionStatus.php +++ b/orif/plafor/Database/Migrations/2021-06-14-090828_AddAcquisitionStatus.php @@ -51,7 +51,6 @@ public function up() $this->db->disableForeignKeyChecks(); $this->forge->createTable('acquisition_status'); $seeder = \Config\Database::seeder(); - $seeder->call('\Plafor\Database\Seeds\addAcquisitionStatusDatas'); } diff --git a/orif/user/Database/Migrations/2021-03-19-090829_add_user.php b/orif/user/Database/Migrations/2021-03-19-090829_add_user.php index 3596c2a4..0bfc2647 100644 --- a/orif/user/Database/Migrations/2021-03-19-090829_add_user.php +++ b/orif/user/Database/Migrations/2021-03-19-090829_add_user.php @@ -47,10 +47,7 @@ public function up() $this->forge->addForeignKey('fk_user_type','user_type','id'); $this->forge->createTable('user',true); $seeder=\Config\Database::seeder(); - //for plafor module - //$seeder->call('\User\Database\Seeds\AddUserDatas'); - // only for application - $seeder->call('\Plafor\Database\Seeds\addUserDatas'); + $seeder->call('\User\Database\Seeds\AddUserDatas'); } /**