search for: create_sql

Displaying 1 result from an estimated 1 matches for "create_sql".

Did you mean: create_sq
2006 Aug 02
2
mangle ActiveRecord
...ptions[:timestamp] == false table_definition.column(:key_id, :bigint ) unless options[:key] == false table_definition.column(:deleted, :bigint ) unless options[:deleted] == false yield table_definition if options[:force] drop_table(name) rescue nil end create_sql = "CREATE#{'' TEMPORARY'' if options[:temporary]} TABLE " create_sql << "#{name} (" create_sql << table_definition.to_sql create_sql << ") #{options[:options]}" execute create_sql end end placed in the lib in a file...