Module: Imigrate

Defined in:
lib/imigrate.rb,
lib/imigrate/railtie.rb,
lib/imigrate/version.rb,
lib/generators/imigrate.rb

Defined Under Namespace

Modules: Generators Classes: Railtie

Constant Summary collapse

SCHEMA_MIGRATIONS_TABLE_NAME =
'data_migrations'
MIGRATION_PATH =
['db/data']
VERSION =
"0.9.3"

Class Method Summary collapse

Class Method Details

.env_prefix=(number) ⇒ Object



8
9
10
11
12
# File 'lib/imigrate.rb', line 8

def self.env_prefix=(number)
  return if number.blank?
  raise 'env_prefix must be a number' unless number.is_a?(Integer)
  @@env_prefix = number
end