Skip to content

Commit

Permalink
#20 Documentation update
Browse files Browse the repository at this point in the history
  • Loading branch information
pabloelcolombiano committed Jul 26, 2021
1 parent 00afc40 commit 280abc2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,17 @@ In config/app.php

You can set `migrations` simply to `true` if you which to use the default migration settings.

### Migrations status

Information on a connection's migration status will be obtained as follows:
```
$migrator = Migrator::migrate();
$connectionsWithModifiedStatus = $migrator->getConnectionsWithModifiedStatus();
```

the method `getConnectionsWithModifiedStatus` returning a list of the connections with down
migrations prior to running the migrations.

### What happens if I switch branches?

If you ever switched to a branch with nonexistent up migrations, you've moved to a branch in a past state.
Expand Down

0 comments on commit 280abc2

Please sign in to comment.