Class: PgHaMigrations::Config

Inherits:
Struct
  • Object
show all
Defined in:
lib/pg_ha_migrations.rb

Instance Attribute Summary collapse

Instance Attribute Details

#allow_force_create_tableObject

Returns the value of attribute allow_force_create_table

Returns:

  • (Object)

    the current value of allow_force_create_table



11
12
13
# File 'lib/pg_ha_migrations.rb', line 11

def allow_force_create_table
  @allow_force_create_table
end

#check_for_dependent_objectsObject

Returns the value of attribute check_for_dependent_objects

Returns:

  • (Object)

    the current value of check_for_dependent_objects



11
12
13
# File 'lib/pg_ha_migrations.rb', line 11

def check_for_dependent_objects
  @check_for_dependent_objects
end

#disable_default_migration_methodsObject

Returns the value of attribute disable_default_migration_methods

Returns:

  • (Object)

    the current value of disable_default_migration_methods



11
12
13
# File 'lib/pg_ha_migrations.rb', line 11

def disable_default_migration_methods
  @disable_default_migration_methods
end

#infer_primary_key_on_partitioned_tablesObject

Returns the value of attribute infer_primary_key_on_partitioned_tables

Returns:

  • (Object)

    the current value of infer_primary_key_on_partitioned_tables



11
12
13
# File 'lib/pg_ha_migrations.rb', line 11

def infer_primary_key_on_partitioned_tables
  @infer_primary_key_on_partitioned_tables
end

#prefer_single_step_column_addition_with_defaultObject

Returns the value of attribute prefer_single_step_column_addition_with_default

Returns:

  • (Object)

    the current value of prefer_single_step_column_addition_with_default



11
12
13
# File 'lib/pg_ha_migrations.rb', line 11

def prefer_single_step_column_addition_with_default
  @prefer_single_step_column_addition_with_default
end