Skip to content

Commit

Permalink
added hooks for mysql/oracle support
Browse files Browse the repository at this point in the history
  • Loading branch information
priestc committed Apr 10, 2012
1 parent fa763f1 commit 7d07f36
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@ overwrite data!!
This will go through your bucket and remove all dumps except for ones performed on at 9PM on a monday. This command is to keep your S3 bucket from
getting huge. In future versions, this command will be customizable.

Notes
-----
Notes:
------
Postgres/Postgis currently only supported. Mysql/Oracle/SQLite support coming soon.
9 changes: 9 additions & 0 deletions easydump/mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,15 @@ def _get_dumper(self):
if 'postgis' in engine:
return dumpers.PostgresDumper

if 'postgresql' in engine:
return dumpers.PostgresDumper

if 'oracle' in engine:
return dumpers.OracleDumper

if 'mysql' in engine:
return dumpers.MySQLDumper

def _get_tables(self):
"""
return all the database tables that we are going to dump.
Expand Down

0 comments on commit 7d07f36

Please sign in to comment.