Class: ActiveRecord::SchemaMigration
- Defined in:
- lib/active_record/connection_adapters/ibm_db_adapter.rb
Class Method Summary collapse
Methods inherited from Base
add_conditions!, add_group!, add_joins!, attribute_condition, construct_finder_sql, count_by_sql, delete_all, #destroy_without_lock, expand_id_conditions, find_by_sql, find_one, find_some, ibm_db_connection, ibmdb_connection, merge_conditions, merge_joins, quote_bound_value, quote_value, #quote_value, replace_bind_variables, replace_named_bind_variables, sanitize_sql_array, sanitize_sql_for_assignment, sanitize_sql_for_conditions, sanitize_sql_hash_for_assignment, sanitize_sql_hash_for_conditions, type_condition, update_all, update_counters_without_lock, validates_uniqueness_of, with_scope
Class Method Details
.create_table ⇒ Object
45 46 47 48 49 50 51 52 53 54 55 |
# File 'lib/active_record/connection_adapters/ibm_db_adapter.rb', line 45 def create_table #puts "Calling method : " << CallChain.caller_method << "\n" #puts "Calling method for create_table(): " << String(caller(start=1, length=nil) ) unless table_exists? = connection. connection.create_table(table_name,id:false) do |t| t.string :version, end end end |