{"id":18140842,"url":"https://github.com/gui/activerecord-postgres-dump-schemas","last_synced_at":"2025-04-19T20:43:32.660Z","repository":{"id":56842190,"uuid":"44184327","full_name":"GUI/activerecord-postgres-dump-schemas","owner":"GUI","description":"Define which PostgreSQL schemas to dump in your Rails db/structure.sql file","archived":false,"fork":false,"pushed_at":"2015-10-13T15:07:19.000Z","size":128,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-13T08:58:25.109Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GUI.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-13T15:05:08.000Z","updated_at":"2019-06-20T21:39:27.000Z","dependencies_parsed_at":"2022-09-01T09:02:54.824Z","dependency_job_id":null,"html_url":"https://github.com/GUI/activerecord-postgres-dump-schemas","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GUI%2Factiverecord-postgres-dump-schemas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GUI%2Factiverecord-postgres-dump-schemas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GUI%2Factiverecord-postgres-dump-schemas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GUI%2Factiverecord-postgres-dump-schemas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GUI","download_url":"https://codeload.github.com/GUI/activerecord-postgres-dump-schemas/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249795227,"owners_count":21326778,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-01T16:07:06.296Z","updated_at":"2025-04-19T20:43:32.634Z","avatar_url":"https://github.com/GUI.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# activerecord-postgres-dump-schemas\n\nExplicitly define which PostgreSQL schemas to dump in your Rails `db/structure.sql` file when calling `rake db:structure:dump`.\n\nThis functionality will be included in Rails 5, but this gem backports this feature to Rails 3 and Rails 4. Credit goes to [@rywall](https://github.com/rywall) for [implementing this feature](https://github.com/rails/rails/pull/19347) for Rails 5.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem \"activerecord-postgres-dump-schemas\"\n```\n\nAnd then execute:\n\n```sh\n$ bundle\n```\n\n## Usage\n\nThis adds a `config.active_record.dump_schemas` option you can define in your `config/application.rb` file. The value of this option can one of the following:\n\n- `:schema_search_path` (default): Dump any schemas listed in your `database.yml`'s `schema_search_path`.\n- `:all`: Dump all schemas regardless of the `schema_search_path`.\n- A string of comma separated schemas to pass a custom list of schemas.\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/GUI/activerecord-postgres-dump-schemas.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgui%2Factiverecord-postgres-dump-schemas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgui%2Factiverecord-postgres-dump-schemas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgui%2Factiverecord-postgres-dump-schemas/lists"}