mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-22 17:06:41 -06:00
Fixed typo
This commit is contained in:
parent
d3a86f4fae
commit
6c6cfb4fc3
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user