Method: ActiveRecord::ConnectionAdapters::SchemaStatements#options_include_default?
- Defined in:
- activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
#options_include_default?(options) ⇒ Boolean
1212 1213 1214 |
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb', line 1212 def () .include?(:default) && !([:null] == false && [:default].nil?) end |