Skip to content

Commit 5cc7c31

Browse files
author
Carl Thuringer
committed
Fix deprecation warning re: sqlite representing boolean as integer.
1 parent ec118b3 commit 5cc7c31

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

test/test_helper.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ class TestApp < Rails::Application
5151

5252
ActiveRecord::Schema.verbose = false
5353
config.active_record.schema_format = :none
54+
config.active_record.sqlite3.represent_boolean_as_integer = true
5455
config.active_support.test_order = :random
5556

5657
if Rails::VERSION::MAJOR >= 5

0 commit comments

Comments
 (0)