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

Rails4 support, PostgreSQL array and hstore fields support #56

Open turgu1 opened 11 years ago

turgu1 commented 11 years ago

This is an update to support Rails4 (using the modification proposed by edwardvalentini in his own fork) and the use of array fields and hstore fields as supplied by PostgreSQL.

The Rails4 modification may render yaml_db unusable with older versions of rails (this needs to be verified). The PostgreSQL support changes are compatible with other kind of database systems. That doesn't mean it supply support for array and hstore fields for other database systems...

Cheers!

Guy

amir20 commented 11 years ago

Can this be merged? I see that it works.

turgu1 commented 11 years ago

Good Day Amir,

I'm using it since a month almost every day now. Sure it can be merged. I don't really now how to do it.

Guy

Email: turgu666@gmail.com

On Sep 23, 2013, at 13:42, Amir Raminfar notifications@github.com wrote:

Can this be merged? I see that it works.

— Reply to this email directly or view it on GitHub.

turgu1 commented 11 years ago

Sorry for this close / reopen toggling. I'm not familiar with the way github is working...

dnrce commented 10 years ago

What is the use case for supporting functionality that's specific to PostgreSQL? If you're locked to PG, doesn't that mean you can just use pg_dump and don't have any need for yaml_db?

jrgifford commented 10 years ago

Having a cross-host, low-barrier data system has been nice for us at work (I'm using this patch). Yes, we could (and did) do zipped sql blobs - but then we couldn't put it into version control. Being able to go back to different database snapshots using yamldb has been very useful.