src/Parameter/Fixture/ParameterSequenceFixture.php
public function load(ObjectManager $manager)
    {
        $connection = $manager->getConnection();
        $platform = $connection->getDatabasePlatform()->getName();

        switch ($platform) {
            case 'postgresql':
                $connection->exec('ALTER SEQUENCE ds_parameter_id_seq RESTART WITH 1');
                break;
        }
    }
public function load(ObjectManager $manager)
    {
        $connection = $manager->getConnection();
        $platform = $connection->getDatabasePlatform()->getName();

        switch ($platform) {
            case 'postgresql':
                $connection->exec('ALTER SEQUENCE ds_parameter_id_seq RESTART WITH 1');
                break;
        }
    }
{@inheritdoc}