for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace DoctrineMigrations;
use Doctrine\DBAL\Migrations\AbstractMigration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
class Version20160114093442 extends AbstractMigration
{
const NAME = 'dtb_session';
* @param Schema $schema
public function up(Schema $schema)
if ($schema->hasTable(self::NAME)) {
$schema->dropTable(self::NAME);
}
public function down(Schema $schema)
// this down() migration is auto-generated, please modify it to your needs