From 6c6cfb4fc3a958528b9543ce9dc938464efdc50e Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Wed, 25 Oct 2017 16:19:08 +0200 Subject: [PATCH] Fixed typo --- data/migrations/Version20171021093246.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/migrations/Version20171021093246.php b/data/migrations/Version20171021093246.php index d0aff69b..7996ba6c 100644 --- a/data/migrations/Version20171021093246.php +++ b/data/migrations/Version20171021093246.php @@ -20,7 +20,7 @@ class Version20171021093246 extends AbstractMigration public function up(Schema $schema) { $shortUrls = $schema->getTable('short_urls'); - if ($shortUrls->hasColumn('value_since')) { + if ($shortUrls->hasColumn('valid_since')) { return; } @@ -39,7 +39,7 @@ class Version20171021093246 extends AbstractMigration public function down(Schema $schema) { $shortUrls = $schema->getTable('short_urls'); - if (! $shortUrls->hasColumn('value_since')) { + if (! $shortUrls->hasColumn('valid_since')) { return; }