method

schema_default

schema_default(column)
private

No documentation available.

# File activerecord/lib/active_record/connection_adapters/abstract/schema_dumper.rb, line 86
      def schema_default(column)
        type = lookup_cast_type_from_column(column)
        default = type.deserialize(column.default)
        if default.nil?
          schema_expression(column)
        else
          type.type_cast_for_schema(default)
        end
      end