<commit_before># Migration guide
Migration is a module for migrating database schema between different version of project [Harbor](https://github.com/vmware/harbor)

This module is for those machine running Harbor's old version, such as 0.1.0. If your Harbor' version is up to date, please ignore this module.

**WARNING!!** You must backup your data before migrating

###Installation
- step 1: change `db_username`, `db_password`, `db_port`, `db_name` in migration.cfg
- step 2: build image from dockerfile
    ```
    cd harbor-migration
    <commit_msg>update README for data migration tool<commit_after># Migration guide
Migration is a module for migrating database schema between different version of project [Harbor](https://github.com/vmware/harbor)

This module is for those machine running Harbor's old version, such as 0.1.0. If your Harbor' version is up to date, please ignore this module.

**WARNING!!** You must backup your data before migrating

###Installation
- step 1: 
    ```
    cd migration
    ```
- step 2: change `db_username`, `db_password`, `db_port`, `db_name` in migration.cfg
- step 3: build image from dockerfile
    ```
{'fraction_non_alphanumeric': 0.0947002606429192, 'fraction_numerical': 0.009556907037358819, 'mean_word_length': 4.408450704225352, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5730924', 'n_tokens_mistral': 328, 'n_tokens_neox': 310, 'n_words': 143}