Module: Pakyow::Data::Adapters::Sql::Migrator::AdapterMethods::Sqlite Private
- Defined in:
- lib/pakyow/data/adapters/sql/migrator/adapter_methods.rb
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Class Method Summary collapse
Instance Method Summary collapse
- #create! ⇒ Object private
- #drop! ⇒ Object private
Class Method Details
.globalize_connection_opts!(connection_opts) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
87 88 89 |
# File 'lib/pakyow/data/adapters/sql/migrator/adapter_methods.rb', line 87 def self.globalize_connection_opts!(connection_opts) # nothing to do here end |
Instance Method Details
#create! ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
77 78 79 |
# File 'lib/pakyow/data/adapters/sql/migrator/adapter_methods.rb', line 77 def create! # intentionally empty; automatically created on connect end |
#drop! ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
81 82 83 84 85 |
# File 'lib/pakyow/data/adapters/sql/migrator/adapter_methods.rb', line 81 def drop! if File.exist?(@connection.opts[:path]) FileUtils.rm(@connection.opts[:path]) end end |