Permalink
Browse files

Use new default for sqlite boolean storage

  • Loading branch information...
seadowg committed Oct 3, 2018
1 parent 1d0a92d commit de49a14f8f623d0d8cb75ad2697f4893d5f0d20a
Showing with 3 additions and 0 deletions.
  1. +3 −0 api/config/initializers/new_framework_defaults.rb
@@ -49,3 +49,6 @@
# Configure SSL options to enable HSTS with subdomains. Previous versions had false.
Rails.application.config.ssl_options = { hsts: { subdomains: true } }
# Use integers to represent booleans. Previous versions used 't' and 'f'
Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true

0 comments on commit de49a14

Please sign in to comment.