require "active_support" require "active_record" require "active_record/connection_adapters/cipherstash_pg/database_extensions" require "active_record/connection_adapters/cipherstash_pg/database_tasks" module ActiveRecord module ConnectionAdapters module CipherStashPG class Railtie < ::Rails::Railtie rake_tasks do load "cipherstash_tasks.rake" end end # 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