gh-ost
gh-ost copied to clipboard
Work around CREATE TABLE GCP bug
GCP cloud-SQL DBs do not seem to allow using gh-ost due to the way that
we create tables (using CREATE TABLE <ghost-table> LIKE <table>). This
is a confirmed GCP bug:
https://issuetracker.google.com/issues/158129960
For the time being, this commit adds an option to enable GCP support, using a different CREATE TABLE statement.
Related issue: https://github.com/github/gh-ost/issues/863
Fixes #863