{"id":15066774,"url":"https://github.com/wallester/migrate","last_synced_at":"2025-04-10T13:53:14.075Z","repository":{"id":54819086,"uuid":"90982225","full_name":"wallester/migrate","owner":"wallester","description":"Command line tool for PostgreSQL migrations ","archived":false,"fork":false,"pushed_at":"2024-03-26T12:44:30.000Z","size":2402,"stargazers_count":26,"open_issues_count":0,"forks_count":4,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-03-24T12:39:16.836Z","etag":null,"topics":["database","databases","go","golang","migration","migrations","postgres","postgresql"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wallester.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2017-05-11T13:27:28.000Z","updated_at":"2024-10-08T12:11:33.000Z","dependencies_parsed_at":"2024-02-29T17:26:19.712Z","dependency_job_id":"5aebe241-985a-4f59-9438-5929ac56a41e","html_url":"https://github.com/wallester/migrate","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wallester%2Fmigrate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wallester%2Fmigrate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wallester%2Fmigrate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wallester%2Fmigrate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wallester","download_url":"https://codeload.github.com/wallester/migrate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248229013,"owners_count":21068800,"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":["database","databases","go","golang","migration","migrations","postgres","postgresql"],"created_at":"2024-09-25T01:12:01.788Z","updated_at":"2025-04-10T13:53:14.058Z","avatar_url":"https://github.com/wallester.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# migrate\n[![Go Report Card](https://goreportcard.com/badge/github.com/wallester/migrate)](https://goreportcard.com/report/github.com/wallester/migrate)\n\nCommand line tool for PostgreSQL migrations \n\n## Features\n\n* Runs migrations in transactions (one transaction per one migration file).\n* Stores migration version details in auto-generated table ``schema_migrations``.\n\n## Usage\n\n```bash\nmigrate -path ./db/migrations create add_field_to_table\nmigrate -url postgres://user@host:port/database -path ./db/migrations -timeout 10 up\nmigrate -url postgres://user@host:port/database -path ./db/migrations -timeout 10 up 1\nmigrate -url postgres://user@host:port/database -path ./db/migrations -timeout 10 down\nmigrate -url postgres://user@host:port/database -path ./db/migrations -timeout 10 down 1\nmigrate help # for more info\n```\n\n## Tools\n\nInstall golangci-lint with \n\n    go get -u github.com/golangci/golangci-lint/cmd/golangci-lint github.com/securego/gosec/cmd/gosec\n\n## How to contribute\n\n1. Fork the repo on Github.\n2. Clone the `wallester/migrate` repo. Next steps are to be done in the `wallester/migrate repo` (not the fork).\n3. Add your fork as a new remote (`git remote add myfork url-of-myfork`).\n4. Create a new branch, do your work and commit the changes as usual.\n5. Push your new branch to your fork (`git push myfork mybranch`).\n6. Open a pull request in Github as usual.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwallester%2Fmigrate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwallester%2Fmigrate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwallester%2Fmigrate/lists"}