Sha256: 86ec716579669f62cbbc3cb758251bb0284fd0f71525a2d173428dc430006727

Contents?: true

Size: 804 Bytes

Versions: 9

Compression:

Stored size: 804 Bytes

Contents

# Ridgepole

Ridgepole is a tool to DB schema.

It defines DB schema using [Rails DSL](http://guides.rubyonrails.org/migrations.html#types-of-schema-dumps), and updates DB schema according to DSL.
(like Chef/Puppet)

[![Gem Version](https://badge.fury.io/rb/ridgepole.png)](http://badge.fury.io/rb/ridgepole)
[![Build Status](https://drone.io/bitbucket.org/winebarrel/ridgepole/status.png)](https://drone.io/bitbucket.org/winebarrel/ridgepole/latest)

## Installation

Add this line to your application's Gemfile:

    gem 'ridgepole'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install ridgepole

## Usage

```sh
ridgepole --export -o Schemafile
vi Schemafile
ridgepole --apply --dry-run
ridgepole --apply
```

## Demo

* [asciinema.org/a/9349](https://asciinema.org/a/9349)

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ridgepole-0.1.8 README.md
ridgepole-0.1.7 README.md
ridgepole-0.1.6 README.md
ridgepole-0.1.5 README.md
ridgepole-0.1.4 README.md
ridgepole-0.1.3 README.md
ridgepole-0.1.2 README.md
ridgepole-0.1.1 README.md
ridgepole-0.1.0 README.md