-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
00c0888
commit 00fc0fd
Showing
3 changed files
with
22 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
= New Features | ||
|
||
* Sequel now supports generated columns on SQLite 3.31+ using the | ||
:generated_always_as and :generated_type options. Example: | ||
|
||
DB.create_table(:table) do | ||
primary_key :id | ||
Numeric :amount, null: false | ||
Numeric :tax, null: false | ||
Numeric :total, generated_always_as: (Sequel[:amount] + :tax) | ||
end | ||
|
||
= Other Improvements | ||
|
||
* The Database#transaction :before_retry option is now called before | ||
retrying the transaction even when the :num_retries option is set | ||
to nil. | ||
|
||
* The gem no longer ships with specs and older release notes, reducing | ||
the gem size by over 40%. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters