{"id":13879443,"url":"https://github.com/readysteady/dba","last_synced_at":"2025-10-30T17:37:46.498Z","repository":{"id":62556824,"uuid":"216776098","full_name":"readysteady/dba","owner":"readysteady","description":"Ruby command line tool for working with development databases","archived":false,"fork":false,"pushed_at":"2025-01-02T11:05:04.000Z","size":45,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-03T07:46:49.502Z","etag":null,"topics":["mysql","postgres","ruby","sequel","sqlite"],"latest_commit_sha":null,"homepage":"https://rubygems.org/gems/dba","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/readysteady.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-22T09:35:42.000Z","updated_at":"2025-01-02T11:05:09.000Z","dependencies_parsed_at":"2024-01-13T20:57:13.336Z","dependency_job_id":"55279b65-3713-41e5-aecf-7554cfa942e6","html_url":"https://github.com/readysteady/dba","commit_stats":{"total_commits":28,"total_committers":1,"mean_commits":28.0,"dds":0.0,"last_synced_commit":"00f34621681e353f54a8387ae221428db324662c"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/readysteady%2Fdba","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/readysteady%2Fdba/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/readysteady%2Fdba/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/readysteady%2Fdba/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/readysteady","download_url":"https://codeload.github.com/readysteady/dba/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244722706,"owners_count":20499151,"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":["mysql","postgres","ruby","sequel","sqlite"],"created_at":"2024-08-06T08:02:21.276Z","updated_at":"2025-10-30T17:37:41.449Z","avatar_url":"https://github.com/readysteady.png","language":"Ruby","readme":"# dba\n\nRuby command line tool for working with development databases.\n\n\n## Installation\n\n    $ gem install dba\n\nNote: you may also need to install the pg, mysql2, or sqlite3 gems unless you\nalready have them in your environment.\n\nYou can connect to any database supported by [sequel](https://rubygems.org/gems/sequel).\n\n\n## Usage\n\n    $ dba\n    Usage: dba COMMAND\n\n      dba diagram [PATH]\n      dba diff URL\n      dba dump TABLE EXTENSION\n      dba edit TABLE IDENTIFIER\n      dba find TABLE IDENTIFIER\n      dba indexes [TABLE]\n      dba load PATH\n      dba pull TABLE URL\n      dba sample TABLE [COLUMN]\n      dba schema [TABLE]\n      dba select TABLE COLUMN VALUE\n      dba tables\n\n\n## ERROR: could not find database\n\nIn order to determine which database to connect to dba checks `.env` for a\n`DATABASE_URL` variable, `config/database.yml` for your Rails development\ndatabase config, postgres on localhost (if it's running), and the current\nworking directory for any `.sqlite3` files.\n\nIf your development database does not match any of these criteria please\nopen a pull request or issue describing your development database setup,\nbut first make sure you're running the command from the correct directory.\n","funding_links":[],"categories":["Ruby"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freadysteady%2Fdba","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freadysteady%2Fdba","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freadysteady%2Fdba/lists"}