method

add_timestamps_sql

Importance_0
v4.2.9 - Show latest stable - 0 notes - Class: AbstractMysqlAdapter
add_timestamps_sql(table_name, options = {}) protected

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb, line 836
      def add_timestamps_sql(table_name, options = {})
        [add_column_sql(table_name, :created_at, :datetime, options), add_column_sql(table_name, :updated_at, :datetime, options)]
      end
Register or log in to add new notes.