Sha256: 3261fc6c894808d6e9daf588381fd7e4a949c2e59a0892612ce34e9e5bab6597

Contents?: true

Size: 724 Bytes

Versions: 37

Compression:

Stored size: 724 Bytes

Contents

require "active_record/base"

module ActiveRecord
  module ConnectionAdapters
    module CockroachDB
      class DatabaseTasks < ActiveRecord::Tasks::PostgreSQLDatabaseTasks
        def structure_dump(filename, extra_flags=nil)
          raise "db:structure:dump is unimplemented. See https://github.com/cockroachdb/activerecord-cockroachdb-adapter/issues/2"
        end

        def structure_load(filename, extra_flags=nil)
          raise "db:structure:load is unimplemented. See https://github.com/cockroachdb/activerecord-cockroachdb-adapter/issues/2"
        end
      end
    end
  end
end

ActiveRecord::Tasks::DatabaseTasks.register_task(/cockroachdb/, ActiveRecord::ConnectionAdapters::CockroachDB::DatabaseTasks)

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
activerecord-cockroachdb-adapter-7.0.2 lib/active_record/connection_adapters/cockroachdb/database_tasks.rb
activerecord-cockroachdb-adapter-7.0.1 lib/active_record/connection_adapters/cockroachdb/database_tasks.rb
activerecord-cockroachdb-adapter-7.0.0 lib/active_record/connection_adapters/cockroachdb/database_tasks.rb
activerecord-cockroachdb-adapter-6.1.10 lib/active_record/connection_adapters/cockroachdb/database_tasks.rb
activerecord-cockroachdb-adapter-6.1.9 lib/active_record/connection_adapters/cockroachdb/database_tasks.rb
activerecord-cockroachdb-adapter-6.1.8 lib/active_record/connection_adapters/cockroachdb/database_tasks.rb
activerecord-cockroachdb-adapter-6.1.7 lib/active_record/connection_adapters/cockroachdb/database_tasks.rb
activerecord-cockroachdb-adapter-6.1.6 lib/active_record/connection_adapters/cockroachdb/database_tasks.rb
activerecord-cockroachdb-adapter-6.1.5 lib/active_record/connection_adapters/cockroachdb/database_tasks.rb
activerecord-cockroachdb-adapter-6.1.4 lib/active_record/connection_adapters/cockroachdb/database_tasks.rb
activerecord-cockroachdb-adapter-6.1.3 lib/active_record/connection_adapters/cockroachdb/database_tasks.rb
activerecord-cockroachdb-adapter-5.2.3 lib/active_record/connection_adapters/cockroachdb/database_tasks.rb
activerecord-cockroachdb-adapter-6.0.2 lib/active_record/connection_adapters/cockroachdb/database_tasks.rb
activerecord-cockroachdb-adapter-6.1.2 lib/active_record/connection_adapters/cockroachdb/database_tasks.rb
activerecord-cockroachdb-adapter-6.0.1 lib/active_record/connection_adapters/cockroachdb/database_tasks.rb
activerecord-cockroachdb-adapter-6.1.1 lib/active_record/connection_adapters/cockroachdb/database_tasks.rb
activerecord-cockroachdb-adapter-6.0.0 lib/active_record/connection_adapters/cockroachdb/database_tasks.rb
activerecord-cockroachdb-adapter-6.1.0 lib/active_record/connection_adapters/cockroachdb/database_tasks.rb
activerecord-cockroachdb-adapter-6.0.0.pre.beta.5 lib/active_record/connection_adapters/cockroachdb/database_tasks.rb
activerecord-cockroachdb-adapter-6.1.0.pre.beta.3 lib/active_record/connection_adapters/cockroachdb/database_tasks.rb