method

add_timestamps_sql

Importance_0
v3.2.8 - Show latest stable - 0 notes - Class: AbstractMysqlAdapter
add_timestamps_sql(table_name) 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 654
      def add_timestamps_sql(table_name)
        [add_column_sql(table_name, :created_at, :datetime), add_column_sql(table_name, :updated_at, :datetime)]
      end
Register or log in to add new notes.