method

create_table

Importance_0
v5.0.0.1 - 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 23
      def create_table
        unless table_exists?
          version_options = connection.internal_string_options_for_primary_key

          connection.create_table(table_name, id: false) do |t|
            t.string :version, version_options
          end
        end
      end
Register or log in to add new notes.