Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add immune_tables config option #68

Merged
merged 2 commits into from
Jun 24, 2021
Merged

Add immune_tables config option #68

merged 2 commits into from
Jun 24, 2021

Conversation

droserasprout
Copy link
Member

No description provided.

if '--reindex' in sys.argv:
sys.argv.remove('--reindex')
os.execl(sys.executable, sys.executable, *sys.argv)

async def reindex(self) -> None:
Copy link
Member

Choose a reason for hiding this comment

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

Maybe it would be more explicit/imperative to specify tables that should be dropped/preserved in reindex?
E.g.

def reindex(preserve_tables=None)

@droserasprout droserasprout merged commit c5a421a into master Jun 24, 2021
@droserasprout droserasprout deleted the feat/immune-tables branch June 24, 2021 07:49
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants