method

change_column_default

Importance_0
change_column_default(table_name, column_name, default_or_changes) public

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 372
      def change_column_default(table_name, column_name, default_or_changes) # :nodoc:
        execute "ALTER TABLE #{quote_table_name(table_name)} #{change_column_default_for_alter(table_name, column_name, default_or_changes)}"
      end
Register or log in to add new notes.