Sha256: a596e7c80a7935a0acd96090818cb931a3b2706dbb3b5280823d178a9945dac1
Contents?: true
Size: 654 Bytes
Versions: 9
Compression:
Stored size: 654 Bytes
Contents
module Brillo module Adapter class Base attr_reader :config def initialize(db_config) @config = db_config end def header ActiveRecord::Base.connection.dump_schema_information end def footer "" end def table_footer(klass) "" end def dump_structure_and_migrations(config) # Overrides the path the structure is dumped to in Rails >= 3.2 ENV['SCHEMA'] = ENV['DB_STRUCTURE'] = config.dump_path.to_s Rake::Task["db:structure:dump"].invoke end def load_command raise NotImplementedError end end end end
Version data entries
9 entries across 9 versions & 1 rubygems