Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
1. Enable schema migration for SQL DB
First time to table selection page, schema migration shows 'Not selected'.
If schema migration is enabled, assessment results will be checked. If any assessment issues that might fail schema migration are found, it will show the assessment results link to check the details.
If schema migration is not enabled, there are two cases. If there are missing tables on the target but users don't select 'migrate schema to target' option, it will show 'Not selected'. If there are no missing tables on target, it will show 'Not needed'.
There are three tabs after click 'Edit':
The source tables exist on the target and have rows:
The source tables don't exist on the target and have rows:
The source tables dont have rows. These tables are not available to select for data migration. But if they dont exist on the target, schema migration is available.
2. Auto-mapping source database to target database.
Find if one of target database has the same name and collation to the selected source database, then this target database is set as dropdown component default value.
3. Integrate the assessment results with schema migration
User can click the 'Assessment results' link to check what issues might fail the schema migration
4. There are five scenarios:
4. 1. Full schema on target (Data only migration)
"Migrate schema to target" checkbox is disable.
4.2. Full schema missing on target
4.3. Partially schema missing on target
4.4. Failed migration
4.5. All source tables are empty.
If they don't exist on the target, the schema migration is still available but not available to select for data migration
5. Migration details list
Migration type: Schema only, Data only, Schema and data, Backup and restore