Module: ActiveRecord::ConnectionAdapters::CipherStashPG::DatabaseExtensions
- Defined in:
- lib/active_record/connection_adapters/cipherstash_pg/database_extensions.rb
Class Method Summary collapse
Class Method Details
.install ⇒ Object
7 8 9 10 11 12 13 14 15 |
# File 'lib/active_record/connection_adapters/cipherstash_pg/database_extensions.rb', line 7 def self.install logger.info("Installing database extension.....") ActiveRecord::Base.connection.execute( ::CipherStashPG.install_script ) logger.info("Database extension installed.") end |
.uninstall ⇒ Object
17 18 19 20 21 22 23 24 25 |
# File 'lib/active_record/connection_adapters/cipherstash_pg/database_extensions.rb', line 17 def self.uninstall logger.info("Uninstalling database extension.....") ActiveRecord::Base.connection.execute( ::CipherStashPG.uninstall_script ) logger.info("Database extension uninstalled.") end |