module DbVcs::AdapterInterface

Public Instance Methods

config() click to toggle source
# File lib/db_vcs/adapter_interface.rb, line 5
def config
  raise NotImplementedError, "You have to implement this method in adapter's class"
end
connection() click to toggle source
# File lib/db_vcs/adapter_interface.rb, line 9
def connection
  raise NotImplementedError, "You have to implement this method in adapter's class"
end
copy_database(to_db, from_db) click to toggle source
# File lib/db_vcs/adapter_interface.rb, line 17
def copy_database(to_db, from_db)
  raise NotImplementedError, "You have to implement this method in adapter's class"
end
create_database(db_name) click to toggle source
# File lib/db_vcs/adapter_interface.rb, line 21
def create_database(db_name)
  raise NotImplementedError, "You have to implement this method in adapter's class"
end
db_exists?(db_name) click to toggle source
# File lib/db_vcs/adapter_interface.rb, line 13
def db_exists?(db_name)
  raise NotImplementedError, "You have to implement this method in adapter's class"
end
drop_by_dbname(db_name) click to toggle source
# File lib/db_vcs/adapter_interface.rb, line 29
def drop_by_dbname(db_name)
  raise NotImplementedError, "You have to implement this method in adapter's class"
end
list_databases() click to toggle source
# File lib/db_vcs/adapter_interface.rb, line 25
def list_databases
  raise NotImplementedError, "You have to implement this method in adapter's class"
end