Method: Combustion::Database::LoadSchema#call
- Defined in:
- lib/combustion/database/load_schema.rb
#call ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/combustion/database/load_schema.rb', line 10 def call ActiveRecord::Schema.verbose = false case schema_format when :ruby load_ruby_schema when :sql load_sql_schema else raise UnknownSchemaFormat, "Unknown schema format: #{schema_format}" end end |