forked from Shopify/ghostferry
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow specifying table creation order Shopify#161
This commit introduces the ability for ghostferry-copydb to create tables in a specific order. This can be useful if tables to be created contain foreign-key constraints (FKCs). NOTE: This does not mean that ghostferry supports FKCs! However, with this feature and by disabling FKCs in the target DB, it is theoretically possible to migrate DBs with FKCs - this is experimental and not recommended for production usage. Use with care! To disable the FKCs, one must add the following config to the target DB configuration: "Params": { "foreign_key_checks": "0" }
- Loading branch information
Clemens Kolbitsch
committed
Mar 17, 2020
1 parent
76555c1
commit 4b4900d
Showing
5 changed files
with
91 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters