module DataMapper::Migrations::PostgresAdapter
Public Class Methods
included(base)
click to toggle source
@api private
# File lib/dm-migrations/adapters/dm-postgres-adapter.rb, line 11 def self.included(base) base.extend DataObjectsAdapter::ClassMethods base.extend ClassMethods end
Public Instance Methods
create_model_storage(model)
click to toggle source
@api semipublic
Calls superclass method
DataMapper::Migrations::DataObjectsAdapter#create_model_storage
# File lib/dm-migrations/adapters/dm-postgres-adapter.rb, line 22 def create_model_storage(model) without_notices { super } end
destroy_model_storage(model)
click to toggle source
@api semipublic
Calls superclass method
DataMapper::Migrations::DataObjectsAdapter#destroy_model_storage
# File lib/dm-migrations/adapters/dm-postgres-adapter.rb, line 27 def destroy_model_storage(model) if supports_drop_table_if_exists? without_notices { super } else super end end
upgrade_model_storage(model)
click to toggle source
@api semipublic
Calls superclass method
DataMapper::Migrations::DataObjectsAdapter#upgrade_model_storage
# File lib/dm-migrations/adapters/dm-postgres-adapter.rb, line 17 def upgrade_model_storage(model) without_notices { super } end