README.md in schema_plus_enums-0.1.0 vs README.md in schema_plus_enums-0.1.1
- old
+ new
@@ -33,19 +33,37 @@
<!-- SCHEMA_DEV: MATRIX - end -->
## Usage
-In a migration:
+In a migration,
+an enum can be created:
```ruby
-create_enum :color, 'red', 'green', 'blue'
+create_enum :color, 'red', 'green', 'blue' # default schema is 'public'
create_enum :color, 'cyan', 'magenta', 'yellow', 'black', schema: 'cmyk'
```
+And can be altered: (added a new value)
+```ruby
+alter_enum :color, 'black'
+alter_enum :color, 'purple', after: 'red'
+alter_enum :color, 'pink', before: 'purple'
+alter_enum :color, 'white', schema: 'public'
+```
+
+And can be dropped:
+
+```ruby
+drop_enum :color
+drop_enum :color, schema: 'cmyk'
+```
+
+
## History
+* 0.1.1 - Clean up and sort dumper output. Thanks to [@pik](https://github.com/pik)
* 0.1.0 - Initial release, pulled from schema_plus 1.x
## Development & Testing
Are you interested in contributing to SchemaPlus::Enums? Thanks! Please follow