# dotnet ef commands

### Add migration

```bash
dotnet ef migrations add my_migation
```

### Apply migration&#x20;

```bash
dotnet ef database update
```

### List migrations&#x20;

```bash
dotnet ef migrations list
```

### Remove last migration&#x20;

```bash
dotnet ef migrations remove
```
