method

schema_precision

schema_precision(column)
private

No documentation available.

# File activerecord/lib/active_record/connection_adapters/abstract/schema_dumper.rb, line 67
        def schema_precision(column)
          if column.type == :datetime
            case column.precision
            when nil
              "nil"
            when DEFAULT_DATETIME_PRECISION
              nil
            else
              column.precision.inspect
            end
          elsif column.precision
            column.precision.inspect
          end
        end