Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YDB database support #1215

Open
wants to merge 43 commits into
base: master
Choose a base branch
from
Open

Conversation

asmyasnikov
Copy link

@asmyasnikov asmyasnikov commented Jan 6, 2025

Added YDB support to golang-migrate

This PR implements support for YDB in golang-migrate. The main changes include:

  • Added the YDB driver
  • Implemented necessary functions for migrations, including Open, Close, Lock, Unlock, Run, SetVersion, Version, and Drop.
  • Added tests for the YDB driver in ydb_test.go, including common SQL instructions (such as CREATE/ALTER/DROP TABLE) and YDB-specific instructions (such as CREATE/DROP TOPIC - YDB message bus)
  • Updated the documentation in README.md to include instructions on how to use the YDB driver.

How to Test:

  1. Set up an YDB environment.
  2. Run the unit and integration tests to ensure all functionalities are working correctly.
  3. Follow the instructions in the documentation to test real migrations using the YDB driver.

@coveralls
Copy link

coveralls commented Jan 31, 2025

Coverage Status

coverage: 56.537% (+0.2%) from 56.319%
when pulling 067ca8f on ydb-platform:master
into 36d17ba on golang-migrate:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants