fixup! Run migration in test, ready for MySQL

This commit is contained in:
Jeremy Benoist 2016-12-13 10:41:47 +01:00
parent d44016b072
commit 6514f0ed37
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C

View file

@ -35,7 +35,7 @@ class Version20161022134138 extends AbstractMigration implements ContainerAwareI
// convert field length for utf8mb4
// http://stackoverflow.com/a/31474509/569101
$this->addSql('ALTER TABLE '.$this->getTable('user').' CHANGE confirmation_token confirmation_token VARCHAR(180) NOT NULL;');
$this->addSql('ALTER TABLE '.$this->getTable('user').' CHANGE confirmation_token confirmation_token VARCHAR(180) DEFAULT NULL;');
$this->addSql('ALTER TABLE '.$this->getTable('user').' CHANGE salt salt VARCHAR(180) NOT NULL;');
$this->addSql('ALTER TABLE '.$this->getTable('user').' CHANGE password password VARCHAR(180) NOT NULL;');