We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b29f7e3 commit 0be65dcCopy full SHA for 0be65dc
README.md
@@ -36,15 +36,19 @@ You can install this package via composer using:
36
composer require cesargb/laravel-magiclink
37
```
38
39
-You can then create the table by running the
40
-migrations:
+### Preparing the database
+
41
+You need to publish the migration to create the `magic_links` table:
42
43
```bash
-php artisan migrate
44
+php artisan vendor:publish --provider="MagicLink\MagicLinkServiceProvider" --tag="migrations"
45
46
-Note: If you have the version 1 installed,
47
-[read this](https://github.com/cesargb/laravel-magiclink/blob/v1/README.md).
+After that, you need to run migrations.
48
49
+```bash
50
+php artisan migrate
51
+```
52
53
## Use case
54
0 commit comments