Skip to content

Commit

Permalink
Update CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyevans committed Nov 11, 2024
1 parent b59c0aa commit b0cac98
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
=== master

* Make Database#schema hashes include :comment field on MySQL and PostgreSQL (Bahanix) (#2248, #2249)

* Add inspect_pk plugin to make it easier to retrieve model instance based on inspect output (jeremyevans)

* Treat all Trilogy errors with error code 1205 as Sequel::DatabaseLockTimeout in the trilogy adapter (jeremyevans)
Expand Down
2 changes: 1 addition & 1 deletion doc/reflection.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ The hash may also contain entries for:
Database#schema takes a table symbol and returns column information in an array with each element being an array with two elements. The first elements of the subarray is a column symbol, and the second element is a hash of information about that column. The hash should include the following keys:

:allow_null :: Whether NULL/nil is an allowed value for this column. Used by the Sequel::Model typecasting code.
:comment:: The comment of the column (MySQL and PostreSQL).
:comment:: The comment on the column (MySQL and PostreSQL only).
:db_type :: The type of column the database provided, as a string. Used by the schema_dumper plugin for a more specific type translation.
:default :: The default value of the column, as either a string or nil. Uses a database specific format. Used by the schema_dumper plugin for converting to a ruby value.
:primary_key :: Whether this column is one of the primary key columns for the table. Used by the Sequel::Model code to determine primary key columns.
Expand Down

0 comments on commit b0cac98

Please sign in to comment.