An open API service indexing awesome lists of open source software.

https://github.com/realroy/migrator

Golang database migration CLI inspired from Rails
https://github.com/realroy/migrator

database golang

Last synced: 6 months ago
JSON representation

Golang database migration CLI inspired from Rails

Awesome Lists containing this project

README

          

# Migrator

Database migration CLI that inspired from Rails.

## Usage
```
go get github.com/realroy/migrator

```

## Example

### Generate migration file
```
./build/migrator generate CreateNewModel
```

### Run migrate
```
./build/migrator migrate
```