Skip to content

Docs: Online DDL, @@migration_context, --skip-preflight#1558

Merged
shlomi-noach merged 2 commits intoprodfrom
docs-session-migration-context
Aug 8, 2023
Merged

Docs: Online DDL, @@migration_context, --skip-preflight#1558
shlomi-noach merged 2 commits intoprodfrom
docs-session-migration-context

Conversation

@shlomi-noach
Copy link
Contributor

@shlomi-noach shlomi-noach commented Aug 8, 2023

This PR updates documentation as follows:

Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
@shlomi-noach shlomi-noach requested a review from a team August 8, 2023 06:36
@netlify
Copy link

netlify bot commented Aug 8, 2023

Deploy Preview for vitess ready!

Name Link
🔨 Latest commit b480ac6
🔍 Latest deploy log https://app.netlify.com/sites/vitess/deploys/64d1fb52cb51f90008ceb761
😎 Deploy Preview https://deploy-preview-1558--vitess.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

You my run multiple migrations withing the same `ApplySchema` command:
```shell
$ vtctlclient -- ApplySchema --skip_preflight --ddl_strategy "vitess" --sql "ALTER TABLE demo MODIFY id bigint UNSIGNED; CREATE TABLE sample (id int PRIMARY KEY); DROP TABLE another;" commerce
$ vtctlclient -- ApplySchema --ddl_strategy "vitess" --sql "ALTER TABLE demo MODIFY id bigint UNSIGNED; CREATE TABLE sample (id int PRIMARY KEY); DROP TABLE another;" commerce
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you want to also change this to vtctldclient?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, and at a couple dozen other places as well.

Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
@shlomi-noach shlomi-noach merged commit ee74410 into prod Aug 8, 2023
@shlomi-noach shlomi-noach deleted the docs-session-migration-context branch August 8, 2023 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants