diff --git a/doc/md/versioned-migrations.mdx b/doc/md/versioned-migrations.mdx index ee03804af..1ac62fccc 100644 --- a/doc/md/versioned-migrations.mdx +++ b/doc/md/versioned-migrations.mdx @@ -30,55 +30,10 @@ defined by the `ent/schema` package and writes a migration plan for moving from ### Applying migrations - To apply the pending migration files onto the database, run the following command: - - - -```shell -atlas migrate apply \ - --dir "file://ent/migrate/migrations" \ - --url "mysql://root:pass@localhost:3306/example" -``` - - - - -```shell -atlas migrate apply \ - --dir "file://ent/migrate/migrations" \ - --url "maria://root:pass@localhost:3306/example" -``` - - - - -```shell -atlas migrate apply \ - --dir "file://ent/migrate/migrations" \ - --url "postgres://postgres:pass@localhost:5432/database?search_path=public&sslmode=disable" -``` - - - - -```shell -atlas migrate apply \ - --dir "file://ent/migrate/migrations" \ - --url "sqlite://file.db?_fk=1" -``` - - - + For more information head over to the [Atlas documentation](https://atlasgo.io/versioned/apply).