yamldb / yaml_db

Rails plugin for a database-independent dump format, data.yml .......... Seeking new maintainers! See https://github.com/yamldb/yaml_db/issues/143
https://rubygems.org/gems/yaml_db
949 stars 200 forks source link

Option to dump or load a Single Table #76

Closed ballin22s closed 7 years ago

ballin22s commented 9 years ago

It would be great if you can add a way to limit a database dump or load to a single table by adding a table parameter to the rake task.

Ex. rake db:data:dump["table_name"] -> Dump contents of Rails database table "table_name" to db/data.yml rake db:data:load["table_name"] -> Load contents of db/data.yml into the database table "table_name"

dnrce commented 9 years ago

PR #59 attempts to address this but needs some cleanup to be mergeable.

kikicarbonell commented 9 years ago

:+1:

epaminond commented 8 years ago

Would be usefull!

glassputan commented 7 years ago

Bump

dnrce commented 7 years ago

Consolidating under #9.