{"id":23256537,"url":"https://github.com/piaschilling/databasebridge","last_synced_at":"2026-04-30T08:39:52.826Z","repository":{"id":268727585,"uuid":"863571422","full_name":"PiaSchilling/DatabaseBridge","owner":"PiaSchilling","description":"DatabaseBridge is an application designed to facilitate the smooth migration of an existing database to another database system.","archived":false,"fork":false,"pushed_at":"2024-09-26T14:22:03.000Z","size":14538,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-12T10:27:45.657Z","etag":null,"topics":["mariadb","mysql","postgresql","sql"],"latest_commit_sha":null,"homepage":"","language":"Java","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/PiaSchilling.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":"2024-09-26T14:20:53.000Z","updated_at":"2024-09-26T14:23:52.000Z","dependencies_parsed_at":"2024-12-18T15:26:23.684Z","dependency_job_id":"f8ffc337-b582-4f6d-a126-195f5cb07000","html_url":"https://github.com/PiaSchilling/DatabaseBridge","commit_stats":null,"previous_names":["piaschilling/databasebridge"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PiaSchilling%2FDatabaseBridge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PiaSchilling%2FDatabaseBridge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PiaSchilling%2FDatabaseBridge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PiaSchilling%2FDatabaseBridge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PiaSchilling","download_url":"https://codeload.github.com/PiaSchilling/DatabaseBridge/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247431918,"owners_count":20938054,"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":["mariadb","mysql","postgresql","sql"],"created_at":"2024-12-19T12:17:10.128Z","updated_at":"2026-04-30T08:39:52.797Z","avatar_url":"https://github.com/PiaSchilling.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DatabaseBridge\n\n[TOC]\n\n\n\n## Description\nDatabaseBridge is an application designed to facilitate the smooth migration of an existing database to another database system. For instance, it allows the transfer of a Postgresql database to a Mysql database, ensuring all tables and relationships are migrated to the new database system. Moreover, it aims to retain as many integrity constraints as possible. The application features a command-line interface and is compatible with various database systems.\n\n## Supported DB systems\n\n- Postgres\n- MySQL\n- MariaDB\n\n## Features\n\n- Transfer schema definitions including tables, column-constraints, foreign key relations, views\n- Transfer users and their privileges on table level\n- Transfer data\n\n## Important hints\n\n- The transfer of passwords is not implemented. This means that a default password is set for each transferred user, except for the one defined in the configuration file.\n- A number of predefined system users are explicitly excluded from the transfer: (if the user in the config file corresponds to one of the system users, it will still be transferred)\n  - Postgres: `postgres,'postgres'@'%'`\n  - MariaDB: `mariadb.sys,healthcheck,root,'mariadb.sys'@'localhost',mariadb.sys'@'localhost`\n  - MySQL: `mysql.session,mysql.sys,mysql.infoschema,healthcheck,root,mysql.session@localhost,mysql.sys@localhost,mysql.infoschema@localhost`\n\n## Known issues\n\n- Views referencing other views might cause problems\n\n## Usage\n\nRun the [here](DatabaseBridge.jar) provided `DatabaseBridge.jar` with the according CLI command. (see section below for information about the CLI)\n\nExample usage:\n\n```\njava -jar DatabaseBridge.jar help\n```\n\n### CLI\n\nThe CLI defines the following commands:\n\n- `execute` -\u003e execute the transfer\n- `new` -\u003e create a configuration file template\n\nTo create an config file template, run:\n\n```\ndatabasebridge new \u003cpath_to_save_location_template_file\u003e\n```\n\nFor example:\n\n```\ndatabasebridge new /Users/exampleUser/Desktop/template.json\n```\n\nTo start the transfer, run:\n\n```\ndatabasebridge execute \u003cpath_to_config_file\u003e \n```\n\nTo start the transfer and additionally get the created DDL-script for insight or debugging, run:\n\n```\ndatabasebridge execute \u003cpath_to_config_file\u003e -s \u003cpath_to_save_location_ddl_script\u003e\n```\n\nTo get help, run:\n\n```\ndatabasebridge help\n```\n\nOr to get help with a specific command, run:\n\n```\ndatabasebridge \u003ccommand\u003e --help \n```\n\n### IntelliJ\n\nTo run DatabaseBridge in IntelliJ run the main-method in the class `DataBaseBridge`. Don't forget the edit the run configurations to pass the required parameters according to the commands from above. \n\n## Documentation\nDetailed documentation can be found under [docs](https://gitlab.mi.hdm-stuttgart.de/ps149/databasebridge/-/tree/dev/docs) in the root directory of the repository.\n\n## Team\nThe application is being developed by Kiara Nagler (kn022) and Pia Schilling (ps149).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiaschilling%2Fdatabasebridge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpiaschilling%2Fdatabasebridge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiaschilling%2Fdatabasebridge/lists"}