Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for dumping only selected tables from database #14

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gaizka
Copy link

@gaizka gaizka commented Jan 29, 2011

Hi there!

I've implemented some code such that you can dump only selected tables from database:

rake db:data:dump filter_tables=^table[0-5]$|other_table
rake db:data:dump_dir filter_tables=^table[0-5]$|other_table

(I've updated the readme, and set some new specs, so i guess it's ready to be merged).

If you think this needs some other changes, feel free to contact me.

I've also updated Rails2 branch, I'll start a new pull request.

Thanks!!

  rake db:data:dump filter_tables=^table[0-5]$|other_table
  rake db:data:dump_dir filter_tables=^table[0-5]$|other_table
@scottillogical
Copy link

+2

@fscrock
Copy link

fscrock commented Oct 28, 2013

awesome

@kikicarbonell
Copy link

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants