method

create_table

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: SchemaMigration
create_table() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/schema_migration.rb, line 21
      def create_table
        unless connection.table_exists?(table_name)
          connection.create_table(table_name, id: false) do |t|
            t.string :version, **connection.internal_string_options_for_primary_key
          end
        end
      end
Register or log in to add new notes.