protected function execute(InputInterface $input, OutputInterface $output)
    {
        try {
            $this->schema->addToSchema($this->connection->getSchemaManager()->createSchema());
        } catch (SchemaException $e) {
            $output->writeln('Aborting: '.$e->getMessage());

            return 1;
        }

        foreach ($this->schema->toSql($this->connection->getDatabasePlatform()) as $sql) {
            $this->connection->exec($sql);
        }

        $output->writeln('ACL tables have been initialized successfully.');
    }
protected function execute(InputInterface $input, OutputInterface $output)
    {
        try {
            $this->schema->addToSchema($this->connection->getSchemaManager()->createSchema());
        } catch (SchemaException $e) {
            $output->writeln('Aborting: '.$e->getMessage());

            return 1;
        }

        foreach ($this->schema->toSql($this->connection->getDatabasePlatform()) as $sql) {
            $this->connection->exec($sql);
        }

        $output->writeln('ACL tables have been initialized successfully.');
    }
protected function execute ( InputInterface $ input , OutputInterface $ output ) { try { $ this -> schema -> addToSchema ( $ this -> connection -> getSchemaManager ( ) -> createSchema ( ) ) ; } catch ( SchemaException $ e ) { $ output -> writeln ( 'Aborting: ' . $ e -> getMessage ( ) ) ; return 1 ; } foreach ( $ this -> schema -> toSql ( $ this -> connection -> getDatabasePlatform ( ) ) as $ sql ) { $ this -> connection -> exec ( $ sql ) ; } $ output -> writeln ( 'ACL tables have been initialized successfully.' ) ; }
{@inheritdoc}
{