mirror of
https://framagit.org/framasoft/framadate/framadate
synced 2026-07-28 20:10:04 +00:00
Fixup for valuemax migration
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
103c307059
commit
2c8d0e1f2d
1 changed files with 1 additions and 2 deletions
|
|
@ -47,8 +47,7 @@ class Version20180220000000 extends AbstractMigration
|
|||
public function up(Schema $schema)
|
||||
{
|
||||
$pollTable = $schema->getTable(Utils::table('poll'));
|
||||
$pollTable->addColumn('ValueMax', 'smallint');
|
||||
$this->addSql('ALTER TABLE ' . Utils::table('poll') . ' ADD `ValueMax` TINYINT NULL;');
|
||||
$pollTable->addColumn('ValueMax', 'smallint', ['default' => null]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue