Skip to content

Commit 2b3d1be

Browse files
authored
Merge pull request #353 from jason-nabooki/patch-2
Fix publish add_alt_to_media migration
2 parents a08cbed + 0d8b37b commit 2b3d1be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/MediableServiceProvider.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,12 @@ public function boot(): void
7676
if (empty(glob($this->app->databasePath('migrations/*_add_alt_to_media.php')))) {
7777
$this->publishes(
7878
[
79-
$root . '/migrations/2020_10_12_000000_add_variants_to_media.php' =>
79+
$root . '/migrations/2024_03_30_000000_add_alt_to_media.php' =>
8080
$this->app->databasePath(
8181
'migrations/' . date(
8282
'Y_m_d_His',
8383
$time
84-
) . '_add_variants_to_media.php'
84+
) . '_add_alt_to_media.php'
8585
),
8686
],
8787
'mediable-migrations'

0 commit comments

Comments
 (0)