Sha256: 5a754a714eeef91a50968ef183dbd0ca2ae56dab3d1559e354ec4b48ca658055

Contents?: true

Size: 673 Bytes

Versions: 26

Compression:

Stored size: 673 Bytes

Contents

require "active_support"
require "active_record"

require "active_record/connection_adapters/cipherstash_pg/database_extensions"
require "active_record/connection_adapters/cipherstash_pg/database_tasks"
require "active_record/connection_adapters/cipherstash_pg/railtie" if defined?(Rails::Railtie)

module ActiveRecord
  module ConnectionAdapters
    module CipherStashPG
      # Method to install CipherStash custom ORE types
      def self.install
        CipherStashPG::DatabaseExtensions.install
      end

      # Method to uninstall CipherStash custom ORE types
      def self.uninstall
        CipherStashPG::DatabaseExtensions.uninstall
      end
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
activerecord-cipherstash-pg-adapter-0.7.4 lib/activerecord-cipherstash-pg-adapter.rb
activerecord-cipherstash-pg-adapter-0.7.3 lib/activerecord-cipherstash-pg-adapter.rb
activerecord-cipherstash-pg-adapter-0.7.2 lib/activerecord-cipherstash-pg-adapter.rb
activerecord-cipherstash-pg-adapter-0.7.1 lib/activerecord-cipherstash-pg-adapter.rb
activerecord-cipherstash-pg-adapter-0.7.0 lib/activerecord-cipherstash-pg-adapter.rb
activerecord-cipherstash-pg-adapter-0.6.1 lib/activerecord-cipherstash-pg-adapter.rb