Removed DoctrineMigration versions
This commit is contained in:
		@@ -1,24 +0,0 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
namespace Application\Migrations;
 | 
			
		||||
 | 
			
		||||
use Doctrine\DBAL\Migrations\AbstractMigration,
 | 
			
		||||
    Doctrine\DBAL\Schema\Schema;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Auto-generated Migration: Please modify to your need!
 | 
			
		||||
 */
 | 
			
		||||
class Version20120723170354 extends AbstractMigration
 | 
			
		||||
{
 | 
			
		||||
    public function up(Schema $schema)
 | 
			
		||||
    {
 | 
			
		||||
        // this up() migration is autogenerated, please modify it to your needs
 | 
			
		||||
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public function down(Schema $schema)
 | 
			
		||||
    {
 | 
			
		||||
        // this down() migration is autogenerated, please modify it to your needs
 | 
			
		||||
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@@ -1,26 +0,0 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
namespace Application\Migrations;
 | 
			
		||||
 | 
			
		||||
use Doctrine\DBAL\Migrations\AbstractMigration,
 | 
			
		||||
    Doctrine\DBAL\Schema\Schema;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Auto-generated Migration: Please modify to your need!
 | 
			
		||||
 */
 | 
			
		||||
class Version20120723170752 extends AbstractMigration
 | 
			
		||||
{
 | 
			
		||||
    public function up(Schema $schema)
 | 
			
		||||
    {
 | 
			
		||||
        // this up() migration is autogenerated, please modify it to your needs
 | 
			
		||||
        $this->abortIf($this->connection->getDatabasePlatform()->getName() != "mysql");
 | 
			
		||||
        
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public function down(Schema $schema)
 | 
			
		||||
    {
 | 
			
		||||
        // this down() migration is autogenerated, please modify it to your needs
 | 
			
		||||
        $this->abortIf($this->connection->getDatabasePlatform()->getName() != "mysql");
 | 
			
		||||
        
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@@ -1,30 +0,0 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
namespace Application\Migrations;
 | 
			
		||||
 | 
			
		||||
use Doctrine\DBAL\Migrations\AbstractMigration,
 | 
			
		||||
    Doctrine\DBAL\Schema\Schema;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Auto-generated Migration: Please modify to your need!
 | 
			
		||||
 */
 | 
			
		||||
class Version20120723171539 extends AbstractMigration
 | 
			
		||||
{
 | 
			
		||||
    public function up(Schema $schema)
 | 
			
		||||
    {
 | 
			
		||||
        // this up() migration is autogenerated, please modify it to your needs
 | 
			
		||||
        $this->abortIf($this->connection->getDatabasePlatform()->getName() != "mysql");
 | 
			
		||||
        
 | 
			
		||||
        $this->addSql("ALTER TABLE news ADD public TINYINT(1) DEFAULT NULL");
 | 
			
		||||
	$this->addSql("UPDATE news SET public = 1");
 | 
			
		||||
	$this->addSql("ALTER TABLE news CHANGE public public TINYINT(1) NOT NULL");
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public function down(Schema $schema)
 | 
			
		||||
    {
 | 
			
		||||
        // this down() migration is autogenerated, please modify it to your needs
 | 
			
		||||
        $this->abortIf($this->connection->getDatabasePlatform()->getName() != "mysql");
 | 
			
		||||
        
 | 
			
		||||
        $this->addSql("ALTER TABLE news DROP public");
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@@ -1,28 +0,0 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
namespace Application\Migrations;
 | 
			
		||||
 | 
			
		||||
use Doctrine\DBAL\Migrations\AbstractMigration,
 | 
			
		||||
    Doctrine\DBAL\Schema\Schema;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Auto-generated Migration: Please modify to your need!
 | 
			
		||||
 */
 | 
			
		||||
class Version20120723203021 extends AbstractMigration
 | 
			
		||||
{
 | 
			
		||||
    public function up(Schema $schema)
 | 
			
		||||
    {
 | 
			
		||||
        // this up() migration is autogenerated, please modify it to your needs
 | 
			
		||||
        $this->abortIf($this->connection->getDatabasePlatform()->getName() != "mysql");
 | 
			
		||||
        
 | 
			
		||||
        $this->addSql("ALTER TABLE events ADD cancelled TINYINT(1) NOT NULL");
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public function down(Schema $schema)
 | 
			
		||||
    {
 | 
			
		||||
        // this down() migration is autogenerated, please modify it to your needs
 | 
			
		||||
        $this->abortIf($this->connection->getDatabasePlatform()->getName() != "mysql");
 | 
			
		||||
        
 | 
			
		||||
        $this->addSql("ALTER TABLE events DROP cancelled");
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@@ -1,28 +0,0 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
namespace Application\Migrations;
 | 
			
		||||
 | 
			
		||||
use Doctrine\DBAL\Migrations\AbstractMigration,
 | 
			
		||||
    Doctrine\DBAL\Schema\Schema;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Auto-generated Migration: Please modify to your need!
 | 
			
		||||
 */
 | 
			
		||||
class Version20120723204923 extends AbstractMigration
 | 
			
		||||
{
 | 
			
		||||
    public function up(Schema $schema)
 | 
			
		||||
    {
 | 
			
		||||
        // this up() migration is autogenerated, please modify it to your needs
 | 
			
		||||
        $this->abortIf($this->connection->getDatabasePlatform()->getName() != "mysql");
 | 
			
		||||
        
 | 
			
		||||
        $this->addSql("ALTER TABLE events ADD start_date DATE NOT NULL, ADD end_date DATE DEFAULT NULL, DROP start_time, DROP end_time");
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public function down(Schema $schema)
 | 
			
		||||
    {
 | 
			
		||||
        // this down() migration is autogenerated, please modify it to your needs
 | 
			
		||||
        $this->abortIf($this->connection->getDatabasePlatform()->getName() != "mysql");
 | 
			
		||||
        
 | 
			
		||||
        $this->addSql("ALTER TABLE events ADD start_time DATETIME NOT NULL, ADD end_time DATETIME DEFAULT NULL, DROP start_date, DROP end_date");
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@@ -1,28 +0,0 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
namespace Application\Migrations;
 | 
			
		||||
 | 
			
		||||
use Doctrine\DBAL\Migrations\AbstractMigration,
 | 
			
		||||
    Doctrine\DBAL\Schema\Schema;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Auto-generated Migration: Please modify to your need!
 | 
			
		||||
 */
 | 
			
		||||
class Version20120723210859 extends AbstractMigration
 | 
			
		||||
{
 | 
			
		||||
    public function up(Schema $schema)
 | 
			
		||||
    {
 | 
			
		||||
        // this up() migration is autogenerated, please modify it to your needs
 | 
			
		||||
        $this->abortIf($this->connection->getDatabasePlatform()->getName() != "mysql");
 | 
			
		||||
        
 | 
			
		||||
        $this->addSql("ALTER TABLE events ADD start_time TIME NOT NULL, ADD end_time TIME DEFAULT NULL");
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public function down(Schema $schema)
 | 
			
		||||
    {
 | 
			
		||||
        // this down() migration is autogenerated, please modify it to your needs
 | 
			
		||||
        $this->abortIf($this->connection->getDatabasePlatform()->getName() != "mysql");
 | 
			
		||||
        
 | 
			
		||||
        $this->addSql("ALTER TABLE events DROP start_time, DROP end_time");
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user