Skip to content

Commit

Permalink
Fix seeders errors
Browse files Browse the repository at this point in the history
  • Loading branch information
DidierViret committed Nov 9, 2023
1 parent 1495386 commit 836bd6a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}


Expand Down
5 changes: 1 addition & 4 deletions orif/user/Database/Migrations/2021-03-19-090829_add_user.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}

/**
Expand Down

0 comments on commit 836bd6a

Please sign in to comment.