Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gsomoza committed Aug 13, 2015
1 parent 568260a commit 9d172fc
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[![Build Status](https://travis-ci.org/baleen/cli.svg?branch=master)](https://travis-ci.org/baleen/cli)
[![Code Coverage](https://scrutinizer-ci.com/g/baleen/cli/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/baleen/cli/?branch=master)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/baleen/cli/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/baleen/cli/?branch=master)
[![Packagist](https://img.shields.io/packagist/v/baleen/migrations.svg)](https://packagist.org/packages/baleen/cli)
[![Packagist](https://img.shields.io/packagist/v/baleen/cli.svg)](https://packagist.org/packages/baleen/cli)

[![Author](http://img.shields.io/badge/author-@gabriel_somoza-blue.svg)](https://twitter.com/gabriel_somoza)
[![License](https://img.shields.io/packagist/l/baleen/cli.svg)](https://github.com/baleen/cli/blob/master/LICENSE)
Expand Down Expand Up @@ -39,7 +39,7 @@ To see some help and a list of available commands, simply execute:
For more help on a specific command simply run `./vendor/bin/baleen help {command}`, replacing `{command}` with the name
of an available command.

### Migrations
### Creating Migrations

Migrations are stored by default under the `./migrations` directory, which will be automatically created every time
your run a commend if it doesn't exist.
Expand All @@ -53,6 +53,18 @@ To easily create a new Migration file run the following command:
./vendor/bin/baleen migrations:create
```

### Running Migrations

Running migrtaions is as easy as executing:

```bash
./vendor/bin/baleen migrate
# or alternatively
composer baleen migrate
```

If you'd like to see a log instead of the progress-bar then just add the `--no-progress` option to the migrate command above.

### License
MIT - for more details please refer to [LICENSE](https://github.com/baleen/cli/blob/master/LICENSE) at the root
directory.

0 comments on commit 9d172fc

Please sign in to comment.