{"id":20608951,"url":"https://github.com/mybatis/migrations","last_synced_at":"2025-04-12T18:44:28.843Z","repository":{"id":6872659,"uuid":"8121708","full_name":"mybatis/migrations","owner":"mybatis","description":"A command line Database migrations tool","archived":false,"fork":false,"pushed_at":"2025-04-11T19:25:33.000Z","size":5024,"stargazers_count":218,"open_issues_count":21,"forks_count":78,"subscribers_count":21,"default_branch":"master","last_synced_at":"2025-04-11T20:30:34.996Z","etag":null,"topics":["java","migration-tool"],"latest_commit_sha":null,"homepage":"http://mybatis.github.io/migrations","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mybatis.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}},"created_at":"2013-02-10T11:15:02.000Z","updated_at":"2025-04-05T18:09:57.000Z","dependencies_parsed_at":"2023-11-22T05:30:38.335Z","dependency_job_id":"cc029442-a62d-4b38-8f26-031fff2bf20e","html_url":"https://github.com/mybatis/migrations","commit_stats":{"total_commits":458,"total_committers":23,"mean_commits":19.91304347826087,"dds":0.6441048034934498,"last_synced_commit":"fdc7c0b195ad340cc4f03b67b63747b42ff2618c"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mybatis%2Fmigrations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mybatis%2Fmigrations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mybatis%2Fmigrations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mybatis%2Fmigrations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mybatis","download_url":"https://codeload.github.com/mybatis/migrations/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248617199,"owners_count":21134190,"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":["java","migration-tool"],"created_at":"2024-11-16T10:12:18.433Z","updated_at":"2025-04-12T18:44:28.819Z","avatar_url":"https://github.com/mybatis.png","language":"Java","readme":"MYBATIS Migrations\n==================\n[![build](https://github.com/mybatis/migrations/workflows/Java%20CI/badge.svg)](https://github.com/mybatis/migrations/actions?query=workflow%3A%22Java+CI%22)\n[![Coverage Status](https://coveralls.io/repos/mybatis/migrations/badge.svg?branch=master\u0026service=github)](https://coveralls.io/github/mybatis/migrations?branch=master)\n[![Maven central](https://maven-badges.herokuapp.com/maven-central/org.mybatis/mybatis-migrations/badge.svg)](https://maven-badges.herokuapp.com/maven-central/org.mybatis/mybatis-migrations)\n[![Docker pulls](https://img.shields.io/docker/pulls/mybatis/migrations.svg)](https://hub.docker.com/r/mybatis/migrations)\n[![Sonatype Nexus (Snapshots)](https://img.shields.io/nexus/s/https/oss.sonatype.org/org.mybatis/mybatis-migrations.svg)](https://oss.sonatype.org/content/repositories/snapshots/org/mybatis/mybatis-migrations/)\n[![License](https://img.shields.io/:license-apache-brightgreen.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)\n\n![mybatis-migrations](https://mybatis.org/images/mybatis-logo.png)\n\n## Requirements\nMyBatis Migrations is a Java tool, so you must have Java installed in order to proceed. \nUsers need at least the Java Runtime Environment (JRE), the Java Development Kit (JDK) is a plus. \nMyBatis Migrations requires Java version 8 or later.\n\nSee the [reference documentation](https://mybatis.org/migrations)\n\n## Installation\n|Bundle Locations|\n|------|\n|[Releases - https://oss.sonatype.org/content/repositories/releases/org/mybatis/mybatis-migrations](https://oss.sonatype.org/content/repositories/releases/org/mybatis/mybatis-migrations/)|\n|[Snapshots - https://oss.sonatype.org/content/repositories/snapshots/org/mybatis/mybatis-migrations](https://oss.sonatype.org/content/repositories/snapshots/org/mybatis/mybatis-migrations/)|\n\n#### Windows\n1. Unzip the distribution archive, i.e. mybatis-${project.version}-migrations.zip to the directory you wish\n      to install MyBatis Migrations.\n      These instructions assume you chose C:\\Program Files\\mybatis.\n      The subdirectory mybatis-migrations-${project.version} will be created from the archive.\n1. Add the MIGRATIONS_HOME environment variable by opening up the system properties (WinKey + Pause), selecting the\n      Advanced tab, and the Environment Variables button, then adding the MIGRATIONS_HOME variable in the user\n      variables with the value C:\\Program Files\\mybatis\\mybatis-migrations-${project.version}.\n      Be sure to omit any quotation marks around the path even if it contains spaces.\n1. In the same dialog, add the MIGRATIONS environment variable in the user variables with the\n      value %MIGRATIONS_HOME%\\bin.\n1. In the same dialog, update/create the Path environment variable in the user variables and prepend the value\n      %MIGRATIONS% to add MyBatis Migrations available in the command line.\n\n#### Unix-based Operating Systems (Linux, Solaris and Mac OS X)\nDownload and extract migrations to any directory.\n```sh\ncd $HOME/opt\nwget https://oss.sonatype.org/content/repositories/releases/org/mybatis/mybatis-migrations/3.3.5/mybatis-migrations-3.3.5-bundle.zip\nunzip mybatis-migrations-3.3.5-bundle.zip\n```\n\nIn your ~/.bashrc or ~/.zshrc or equivalent add\n```\nexport MIGRATIONS=$HOME/opt/mybatis-migrations-3.3.5 # replace with path you extracted to\nexport PATH=$MIGRATIONS/bin:$PATH\n```\n\n## Quick setup\n```sh\nmkdir $HOME/my-migrations\ncd $HOME/my-migrations\nmigrate init\n```\nAfter that read the ./drivers and ./environments section of [Migrations init](https://mybatis.org/migrations/init.html)\n\n## Docker\nDocker users can use https://hub.docker.com/r/mybatis/migrations\n\n## Package Manager ##\n\n*Note*: These are not maintained by the MyBatis team and issues should be reported to the package maintainers.\n\n### SDKMAN ###\n\n[SDKMAN](https://sdkman.io) is a tool to manage multiple installations of JDKs and SDKs. MyBatis Migrations is available as a [candidate in SDKMAN](https://sdkman.io/sdks#mybatis). To install using SKDMAN\n\n```sh\nsdk install mybatis\n\n# you can list the available versions\nsdk ls mybatis\n\n# install specific version\nsdk install mybatis 3.3.5\n```\n\n## License\n\nMigrations is [Apache Licensed](LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmybatis%2Fmigrations","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmybatis%2Fmigrations","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmybatis%2Fmigrations/lists"}