This script facilitates the migration of all objects from a RootPanel registry to the Namingo registry system. It is designed to handle the import process by reading data from RootPanel's SQL export and inserting the relevant information into the Namingo database.
-
Clone the Repository: Clone this repository to your local machine.
-
Install Dependencies: Navigate to the directory of the cloned repository and run
composer install
. -
Configure Database Connection: Rename
config.php.dist
toconfig.php
. Edit this file to include your Namingo database connection details.
Place your RootPanel SQL export files in the same directory as the script.
Execute the script with the following command:
php import.php path_to_sql_file.sql
In case of issues during the import process, you may need to truncate (empty) your Namingo database and attempt the import again. Execute the cleanup script with the following command:
php cleanup.php