diff --git a/CHANGELOG.md b/CHANGELOG.md index 006f4cc2..3368f4b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,16 @@ ## CHANGELOG +### 1.6.2 + +**Bugs** + +* [109: Fix installation error due to typo in latest migration](https://github.com/shlinkio/shlink/issues/109) + ### 1.6.1 -* Added gitattributes file to avoid files not needed in production to be included in distribution +**Tasks** + +* [110: Create gitattributes file to define files to be excluded from distributable package](https://github.com/shlinkio/shlink/issues/110) ### 1.6.0 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; }