Import from postgres

This commit is contained in:
1ilit
2024-06-22 04:13:44 +03:00
parent a4fe117c80
commit d8128f5010
6 changed files with 762 additions and 48 deletions

View File

@@ -749,9 +749,12 @@ export default function ControlPanel({
setImportDb(DB.MYSQL);
},
},
// {
// PostgreSQL: () => setModal(MODAL.IMPORT_SRC),
// },
{
PostgreSQL: () => {
setModal(MODAL.IMPORT_SRC);
setImportDb(DB.POSTGRES);
},
},
{
SQLite: () => {
setModal(MODAL.IMPORT_SRC);