Class: ActiveRecord::ConnectionAdapters::MysqlAdapter
Class Method Summary
collapse
#foreign_key_constraints_on, #remove_foreign_key_constraint, #remove_foreign_key_constraints_referencing
Class Method Details
.columns_from_sql(column_list_sql) ⇒ Object
136
137
138
|
# File 'lib/foreign_key_saver/foreign_key_saver_patches.rb', line 136
def self.columns_from_sql(column_list_sql)
MysqlAdapterForeignKeyMethods.columns_from_sql(column_list_sql)
end
|
.constraints_from_sql(create_table_sql) ⇒ Object
132
133
134
|
# File 'lib/foreign_key_saver/foreign_key_saver_patches.rb', line 132
def self.constraints_from_sql(create_table_sql)
MysqlAdapterForeignKeyMethods.constraints_from_sql(create_table_sql)
end
|