Skip to content

Commit

Permalink
Merge pull request #353 from jason-nabooki/patch-2
Browse files Browse the repository at this point in the history
Fix publish add_alt_to_media migration
  • Loading branch information
frasmage committed Apr 11, 2024
2 parents a08cbed + 0d8b37b commit 2b3d1be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/MediableServiceProvider.php
Expand Up @@ -76,12 +76,12 @@ public function boot(): void
if (empty(glob($this->app->databasePath('migrations/*_add_alt_to_media.php')))) {
$this->publishes(
[
$root . '/migrations/2020_10_12_000000_add_variants_to_media.php' =>
$root . '/migrations/2024_03_30_000000_add_alt_to_media.php' =>
$this->app->databasePath(
'migrations/' . date(
'Y_m_d_His',
$time
) . '_add_variants_to_media.php'
) . '_add_alt_to_media.php'
),
],
'mediable-migrations'
Expand Down

0 comments on commit 2b3d1be

Please sign in to comment.