for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types = 1);
namespace Application\Migrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
class Version20170623205224 extends AbstractMigration
{
* @param Schema $schema
public function up(Schema $schema): void
$table = $schema->createTable('usage_projects');
$table->addColumn('id', 'integer', ['autoincrement' => true]);
$table->addColumn('tool', 'string');
$table->addColumn('project', 'string');
$table->addColumn('count', 'integer');
$table->setPrimaryKey(['id']);
}
public function down(Schema $schema): void
$schema->dropTable('usage_projects');