Module: DataMapper::Migrations::OracleAdapter::ClassMethods

Module | DataMapper::Migrations::OracleAdapter::ClassMethods
In: | lib/dm-core/migrations.rb

### Methods

auto_migrate_reset_sequences auto_migrate_with type_map

### Public Instance methods

auto_migrate_reset_sequences(value = :not_specified)

Set if sequences will or will not be reset during auto_migrate!

@param [TrueClass, FalseClass] reset sequences?

      do not specify parameter to return current value

@return [Symbol] current value of auto_migrate_reset_sequences option (default value is true)

@api semipublic

auto_migrate_with(value = :not_specified)

Use table truncate or delete for auto_migrate! to speed up test execution

@param [Symbol] :truncate, :delete or :drop_and_create (or nil)

      do not specify parameter to return current value

@return [Symbol] current value of auto_migrate_with option (nil returned for :drop_and_create)

@api semipublic

type_map()

Types for Oracle databases.

@return [Hash] types for Oracle databases.

@api private

[Validate]