Fixed typo

This commit is contained in:
Alejandro Celaya 2017-10-25 16:19:08 +02:00
parent d3a86f4fae
commit 6c6cfb4fc3

View File

@ -20,7 +20,7 @@ class Version20171021093246 extends AbstractMigration
public function up(Schema $schema) public function up(Schema $schema)
{ {
$shortUrls = $schema->getTable('short_urls'); $shortUrls = $schema->getTable('short_urls');
if ($shortUrls->hasColumn('value_since')) { if ($shortUrls->hasColumn('valid_since')) {
return; return;
} }
@ -39,7 +39,7 @@ class Version20171021093246 extends AbstractMigration
public function down(Schema $schema) public function down(Schema $schema)
{ {
$shortUrls = $schema->getTable('short_urls'); $shortUrls = $schema->getTable('short_urls');
if (! $shortUrls->hasColumn('value_since')) { if (! $shortUrls->hasColumn('valid_since')) {
return; return;
} }