We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8337645 + e9a6c24 commit 6e16942Copy full SHA for 6e16942
activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
@@ -124,6 +124,9 @@ def columns(table_name)
124
# column_exists?(:suppliers, :name)
125
#
126
# # Check a column exists of a particular type
127
+ # #
128
+ # # This works for standard non-casted types (eg. string) but is unreliable
129
+ # # for types that may get chasted (eg. char).
130
# column_exists?(:suppliers, :name, :string)
131
132
# # Check a column exists with a specific definition
0 commit comments