CDbFixtureManager::load only disable/enable constraints of default 'public' schema tables




class CDbFixtureManager...


public function load($fixtures)

{

    $schema=$this->getDbConnection()->getSchema();  // using postgres

    $schema->checkIntegrity(false);                 // calls CPgsqlSchema::checkIntegrity($check=false,$schema='')

    ...

    $schema->checkIntegrity(true);

}



It only affects ‘public’ schema tables {@see CPgsqlSchema::findTableNames($schema=’’)}.

The right method already exists and is used by CDbFixtureManager::prepare.

It’s CDbFixtureManager::checkIntegrity which do the job by looping over CdbFixtureManager::schemas.

I use schema.table.php as fixture filename.

Did you came accross this <<issue>> with your favorite dbms?