Skip to content

Commit

Permalink
Merge pull request #7 from Zales0123/fix-migration-one-more-time
Browse files Browse the repository at this point in the history
Fix migration FOR REAL
  • Loading branch information
Zales0123 authored Jul 11, 2018
2 parents e89b3a4 + dc290ab commit eb6d410
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migrations/Version20180704112314.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public function up(Schema $schema) : void
// this up() migration is auto-generated, please modify it to your needs
$this->abortIf($this->connection->getDatabasePlatform()->getName() !== 'mysql', 'Migration can only be executed safely on \'mysql\'.');

$this->addSql('CREATE TABLE sylius_refund_refund (id INTEGER NOT NULL, orderNumber VARCHAR(255) NOT NULL, amount INTEGER NOT NULL, refundedUnitId INTEGER DEFAULT NULL, PRIMARY KEY(id))');
$this->addSql('CREATE TABLE sylius_refund_refund (id INT AUTO_INCREMENT NOT NULL, orderNumber VARCHAR(255) NOT NULL, amount INT NOT NULL, refundedUnitId INT DEFAULT NULL, PRIMARY KEY(id))');
}

public function down(Schema $schema) : void
Expand Down

0 comments on commit eb6d410

Please sign in to comment.