Whereas ActiveRecord is a behemoth encompassing a big feature-set, some WTFs pop up every so often. One such WTF is the shortage of help for default values for binary columns in SQLite.
Let’s create a string column in a mannequin that makes use of a SQLite database and add a default worth to it.
Let’s do the identical with a binary column.
This creates an inconsistency within the habits of Sqlite with Rails.
Luckily, this PR provides help for studying a binary column’s default values earlier than the its knowledge is learn from the database.