Triggerless online schema migration solution for MySQL
Triggerless online schema migration solution for MySQL
gh-ost$ gh-ost --user=root --password=secret --host=localhost --database=mydb --table=users --alter='ADD COLUMN age INT' --execute$ gh-ost --user=root --password=secret --host=localhost --database=mydb --table=users --alter='MODIFY COLUMN email VARCHAR(255)' --dry-run$ gh-ost --user=root --password=secret --host=localhost --database=mydb --table=users --alter='ADD INDEX idx_email(email)' --execute --assume-rbr --initially-drop-ghost-table