Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Add parameters to exclude tables and columns #12

Merged
merged 1 commit into from
Sep 20, 2024
Merged

Conversation

tuanngocnguyen
Copy link
Contributor

No description provided.

// Knowns tables to skip.
$skiptables = ['grade_grades_history'];
// Known tables to skip.
$skiptables = ['grade_grades_history', 'notifications', 'question_attempt_step_data'];
Copy link
Contributor

@brendanheywood brendanheywood Sep 19, 2024

Choose a reason for hiding this comment

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

Lets turn this into a new command line option --exclude-tables so we don't hard code it and can more easily add more on the fly

I think grade_grades_history should always be skipped so leave it hard coded. It should be hard coded in core in db_should_replace but we can worry about that later

@tuanngocnguyen tuanngocnguyen force-pushed the improvement branch 4 times, most recently from 94680a4 to e376510 Compare September 20, 2024 00:33
@tuanngocnguyen tuanngocnguyen changed the title DRAFT: WIP Addtional exclusions Add parameters to exclude tables and columns Sep 20, 2024
@tuanngocnguyen tuanngocnguyen merged commit e6d500d into main Sep 20, 2024
6 of 23 checks passed
@tuanngocnguyen tuanngocnguyen deleted the improvement branch September 20, 2024 00:39
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.

2 participants