{"id":22397051,"url":"https://github.com/atrox/go-migrate-rice","last_synced_at":"2026-03-07T12:03:41.878Z","repository":{"id":35027550,"uuid":"164659489","full_name":"Atrox/go-migrate-rice","owner":"Atrox","description":"rice source driver for golang-migrate/migrate","archived":false,"fork":false,"pushed_at":"2023-02-24T12:13:01.000Z","size":131,"stargazers_count":3,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-31T14:34:00.297Z","etag":null,"topics":["database","golang","golang-library","migration","migrations","rice","source-driver"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/Atrox.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2019-01-08T13:53:13.000Z","updated_at":"2021-05-13T14:25:02.000Z","dependencies_parsed_at":"2025-07-31T12:32:17.650Z","dependency_job_id":"6aefe393-3860-4a79-91e7-20503a15278f","html_url":"https://github.com/Atrox/go-migrate-rice","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Atrox/go-migrate-rice","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atrox%2Fgo-migrate-rice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atrox%2Fgo-migrate-rice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atrox%2Fgo-migrate-rice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atrox%2Fgo-migrate-rice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Atrox","download_url":"https://codeload.github.com/Atrox/go-migrate-rice/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atrox%2Fgo-migrate-rice/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27452370,"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","status":"online","status_checked_at":"2025-12-02T02:00:06.387Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","golang","golang-library","migration","migrations","rice","source-driver"],"created_at":"2024-12-05T06:10:21.124Z","updated_at":"2025-12-02T12:04:11.562Z","avatar_url":"https://github.com/Atrox.png","language":"Go","readme":"# Rice Source Driver for golang-migrate/migrate\n\n## Installation\n```bash\ngo get github.com/atrox/go-migrate-rice\n```\n\n## Example\n```golang\nimport (\n\trice \"github.com/GeertJohan/go.rice\"\n\tmigraterice \"github.com/atrox/go-migrate-rice\"\n\t\"github.com/golang-migrate/migrate/v4\"\n\t\"github.com/golang-migrate/migrate/v4/database/postgres\"\n)\n\n// get rice box\nmigrationsBox := rice.MustFindBox(\"migrations\")\n\n// create source driver with specified rice box\nsourceDriver, _ := migraterice.WithInstance(migrationsBox)\n\n// create database driver\ndbDriver, _ := postgres.WithInstance(openDatabase(), \u0026postgres.Config{})\n\n// create migration instance\nm, _ := migrate.NewWithInstance(\"rice\", sourceDriver, \"postgres\", dbDriver)\n\n// migrate\nm.Up()\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatrox%2Fgo-migrate-rice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatrox%2Fgo-migrate-rice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatrox%2Fgo-migrate-rice/lists"}