method

schema_precision

rails latest stable - Class: ActiveRecord::ConnectionAdapters::MySQL::ColumnDumper

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.1.7) is shown here.

schema_precision(column)
private

No documentation available.

# File activerecord/lib/active_record/connection_adapters/mysql/schema_dumper.rb, line 50
          def schema_precision(column)
            super unless /\A(?:date)?time(?:stamp)?\b/.match?(column.sql_type) && column.precision == 0
          end