Skip to content

YDB database support #1215

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

Open
wants to merge 45 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.532% (+0.2%) from 56.314%
when pulling 001b2f0 on ydb-platform:master
into 2788339 on golang-migrate:master.

@asmyasnikov
Copy link
Author

asmyasnikov commented Mar 23, 2025

@dhui Can you see this PR? We are waiting YDB support in golang-migrate very much

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