docs: a few more links to fix

This commit is contained in:
Joakim Carlstein 2023-12-18 16:28:46 +01:00
parent 03ec8f2599
commit e186c1fbce

View file

@ -38,7 +38,7 @@ But for now, this is the way to go.
### Pick a storage plugin ### Pick a storage plugin
Emigrate uses a [storage plugin](../plugins/storage/) to store the migration history. Emigrate uses a [storage plugin](../../plugins/storage/) to store the migration history.
Install the plugin you want to use, for example: Install the plugin you want to use, for example:
@ -84,7 +84,7 @@ Otherwise the file would have the `.js` extension by default.
:::tip[Did you know?] :::tip[Did you know?]
You can avoid typing `--plugin mysql` by configuring Emigrate using an `emigrate.config.js` file. You can avoid typing `--plugin mysql` by configuring Emigrate using an `emigrate.config.js` file.
See [Configuration](../reference/configuration/) for more information. See [Configuration](../../reference/configuration/) for more information.
::: :::
#### Fill the migration file #### Fill the migration file
@ -132,7 +132,7 @@ npx emigrate up --storage mysql --plugin mysql --dry
``` ```
:::note :::note
This will connect to the database using some default values. For ways to configure the connection, see [Configuration](../reference/configuration/). This will connect to the database using some default values. For ways to configure the connection, see [Configuration](../../reference/configuration/).
::: :::
:::caution :::caution
@ -141,6 +141,6 @@ Be sure to configure the connection correctly and use the `--dry` flag to test y
::: :::
:::tip[Did you know?] :::tip[Did you know?]
In the example above the `@emigrate/mysql` plugin is used twice, once for the `--storage` option as a [Storage Plugin](../plugins/storage/) In the example above the `@emigrate/mysql` plugin is used twice, once for the `--storage` option as a [Storage Plugin](../../plugins/storage/)
and once for the `--plugin` option as a [Loader Plugin](../plugins/loaders/) to be able to read `.sql` files. and once for the `--plugin` option as a [Loader Plugin](../../plugins/loaders/) to be able to read `.sql` files.
::: :::