README.md in umbrellio-sequel-plugins-0.7.0.52 vs README.md in umbrellio-sequel-plugins-0.8.0.73

- old
+ new

@@ -37,10 +37,11 @@ - [`Upsert`](#Upsert) - [`WithLock`](#WithLock) # Tools - [`TimestampMigratorUndoExtension`](#TimestampMigratorUndoExtension) +- [`Rails DBConsole`](#Rails-DBConsole) ## CurrencyRates Plugin for joining currency rates table to any other table and money exchange. @@ -186,11 +187,11 @@ OR ```ruby # wives attributes: id (pk), husband_id (fk) # husbands attributes: id (pk), wife_id (fk) - + Wife = Sequel::Model(:wives) Husband = Sequel::Model(:husbands) DB.transaction do wife = Wife.create(id: 1, husband_id: 123456789) @@ -235,11 +236,11 @@ Example: ```ruby Sequel.migration do transaction_options rollback: :always - + up { DB.select("1") } end ``` ```sql BEGIN; @@ -450,14 +451,24 @@ ```sh rake sequel:undo VERSION=1549624163 ``` +## Rails DBConsole + +Overrides Rails default `dbconsole` and `db` commands. In order to use it, you have to add the following line to your `boot.rb` file: + +```ruby +require "umbrellio_sequel_plugins/rails_db_command" +``` + ## License + Released under MIT License. ## Authors -Created by Aleksey Bespalov. + +Created by Team Umbrellio. <a href="https://github.com/umbrellio/"> <img style="float: left;" src="https://umbrellio.github.io/Umbrellio/supported_by_umbrellio.svg" alt="Supported by Umbrellio" width="439" height="72"> </a>