method

add_column_position!

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: SchemaCreation
add_column_position!(sql, options) private

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/mysql/schema_creation.rb, line 89
          def add_column_position!(sql, options)
            if options[:first]
              sql << " FIRST"
            elsif options[:after]
              sql << " AFTER #{quote_column_name(options[:after])}"
            end

            sql
          end
Register or log in to add new notes.