Class: ActiveRecord::SchemaMigration
- Inherits:
-
Object
- Object
- ActiveRecord::SchemaMigration
- Defined in:
- lib/active_record/connection_adapters/ibm_db_adapter.rb
Class Method Summary collapse
Class Method Details
.create_table ⇒ Object
39 40 41 42 43 44 45 |
# File 'lib/active_record/connection_adapters/ibm_db_adapter.rb', line 39 def create_table return if connection.table_exists?(table_name) connection.create_table(table_name, id: false) do |t| t.string :version, **connection. end end |