# `mix backplane_oauth.gen.migration`
[🔗](https://github.com/gsmlg-opt/backplane/blob/v1.10.77/apps/backplane_oauth/lib/mix/tasks/backplane_oauth.gen.migration.ex#L1)

Migration task for Backplane OAuth.

Creates `oauth_clients`, `oauth_scopes` and `oauth_tokens` tables.

> __Note__: This task will create migration files to keep your integration up to date by checking migration file and module names to create missing ones.
> Thus it is not recommended to change naming since it will recreate the migration in further runs.

## Examples
```
mix backplane_oauth.gen.migration
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
