Class: Scheman::Views::Mysql::AddIndex

Inherits:
AlterTable show all
Defined in:
lib/scheman/views/mysql.rb

Instance Method Summary collapse

Methods inherited from AlterTable

#table_name

Methods inherited from Node

#initialize

Constructor Details

This class inherits a constructor from Scheman::Views::Mysql::Node

Instance Method Details

#to_sObject



179
180
181
# File 'lib/scheman/views/mysql.rb', line 179

def to_s
  "ADD #{index_definition_name} #{index}"
end