Skip to content

Commit cc0a09e

Browse files
authored
Merge pull request rails#54144 from skipkayhil/hm-fix-mysql-deprecated-integer-width
Fix boolean columns triggering MySQL deprecation
2 parents 1914a74 + f545129 commit cc0a09e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class AbstractMysqlAdapter < AbstractAdapter
4242
date: { name: "date" },
4343
binary: { name: "blob" },
4444
blob: { name: "blob" },
45-
boolean: { name: "tinyint", limit: 1 },
45+
boolean: { name: "boolean" },
4646
json: { name: "json" },
4747
}
4848

0 commit comments

Comments
 (0)