Module: DataMapper::Migrations::PostgresAdapter
- Includes:
- SQL
- Defined in:
- lib/dm-core/migrations.rb
Overview
module MysqlAdapter
Defined Under Namespace
Modules: ClassMethods, SQL
Class Method Summary collapse
-
.included(base) ⇒ Object
private
TODO: document.
Instance Method Summary collapse
-
#create_model_storage(model) ⇒ Object
TODO: document.
-
#destroy_model_storage(model) ⇒ Object
TODO: document.
-
#upgrade_model_storage(model) ⇒ Object
TODO: document.
Methods included from SQL
#postgres_version, #property_schema_hash, #schema_name, #supports_drop_table_if_exists?, #without_notices
Class Method Details
.included(base) ⇒ 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.
TODO: document
579 580 581 |
# File 'lib/dm-core/migrations.rb', line 579 def self.included(base) base.extend ClassMethods end |
Instance Method Details
#create_model_storage(model) ⇒ Object
TODO: document
591 592 593 |
# File 'lib/dm-core/migrations.rb', line 591 def create_model_storage(model) without_notices { super } end |
#destroy_model_storage(model) ⇒ Object
TODO: document
597 598 599 600 601 602 603 |
# File 'lib/dm-core/migrations.rb', line 597 def destroy_model_storage(model) if supports_drop_table_if_exists? without_notices { super } else super end end |
#upgrade_model_storage(model) ⇒ Object
TODO: document
585 586 587 |
# File 'lib/dm-core/migrations.rb', line 585 def upgrade_model_storage(model) without_notices { super } end |