Title: 📋Copy the module to other databases Canonical: https://microi.net/en/doc/advanced/copy-module.html Page-Modified: 2026-10-12T10:49:46.000Z Source: published HTML document body; page revision is not a capability verification date. # 📋Copy the module to other databases How to copy the module configured in database A to database B? The following two methods are provided. --- ## 🛒Method 1: Through Microi App Store Project A uploads the database package to the application store, and Project B downloads and installs the application to the application store. ::: warning⚠Attention This method is not recommended for the time being, because the upload review process and application mall system are still being improved. ::: --- ## 🔧Method 2: Extract SQL statements by Navicat (recommended) ### Step 1: Get diy_table Table Data sql ``` SELECT * FROM diy_table WHERE `Name` IN ('diy_lang', 'diy_project') AND IsDeleted=0 ``` ### Step 2: Extract the INSERT statement Select all data → right mouse button → Copy → Insert statement: [提取INSERT语句: https://file.microi.net/upload/img/csdn/7e89e2e0ce2443a5bde99e7d5a612761.jpeg#pic_center] ### Step 3: Execute in the B database The SQL statement obtained can be executed in the B database. ::: tip💡Attention Need to be removedINSERT INTOdatabase name prefix. ::: ### Step 4: Repeat the above steps to export field and module data sql ``` -- 获取上面两张表的所有字段数据 SELECT * FROM diy_field WHERE TableID IN ( SELECT Id FROM diy_table WHERE `Name` IN ('diy_lang', 'diy_project') AND IsDeleted=0 ) AND IsDeleted=0 -- 获取模块引擎数据(用于复制模块) SELECT * FROM sys_menu WHERE `Name` IN ('多语言管理', '项目管理') ``` ::: warning⚠Do not forget. Complete the postscript to get role management to account set up "multi-language management" and "project management" corresponding menu module permissions. :::