Skip to content

Reset schema#4714

Merged
aljazerzen merged 4 commits intomasterfrom
reset-schema
Dec 1, 2022
Merged

Reset schema#4714
aljazerzen merged 4 commits intomasterfrom
reset-schema

Conversation

@aljazerzen
Copy link
Contributor

@aljazerzen aljazerzen commented Nov 24, 2022

Closes #4351

@aljazerzen aljazerzen requested a review from msullivan November 24, 2022 15:52
@aljazerzen aljazerzen changed the title reset schema Reset schema Nov 24, 2022
@aljazerzen aljazerzen marked this pull request as ready for review November 28, 2022 19:10
Base automatically changed from refactor-compiler to master November 29, 2022 08:44
Copy link
Member

@msullivan msullivan left a comment

Choose a reason for hiding this comment

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

Seems good, but could you double check that the start_migration call doesn't leave any state hanging?

current_tx = ctx.state.current_tx()
schema = current_tx.get_schema(ctx.compiler_state.std_schema)

current_tx.start_migration()
Copy link
Member

Choose a reason for hiding this comment

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

Hm, does this get cleaned up somewhere?

@aljazerzen aljazerzen merged commit 5a87b23 into master Dec 1, 2022
@aljazerzen aljazerzen deleted the reset-schema branch December 1, 2022 21:21
@aljazerzen aljazerzen mentioned this pull request Dec 5, 2022
@msullivan msullivan mentioned this pull request Jan 27, 2023
25 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for RESET SCHEMA TO initial

2 participants