Merge pull request #111 from shlinkio/develop

Develop
This commit is contained in:
Alejandro Celaya 2017-10-25 16:25:39 +02:00 committed by GitHub
commit aca90ef907
2 changed files with 11 additions and 3 deletions

View file

@ -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

View file

@ -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;
}