feat: enhance database management with new migration and database node functionalities, including CRUD operations and test cases
This commit is contained in:
16
tests/base/createDbNode.ts
Normal file
16
tests/base/createDbNode.ts
Normal file
@ -0,0 +1,16 @@
|
||||
import createDatabaseNode from "../functions/createDatabaseNode";
|
||||
|
||||
(async () => {
|
||||
try {
|
||||
const node = await createDatabaseNode(
|
||||
"localhost",
|
||||
3306,
|
||||
"root",
|
||||
"password"
|
||||
);
|
||||
|
||||
console.log("node", node);
|
||||
} catch (error) {
|
||||
console.error("Error during test execution:", error);
|
||||
}
|
||||
})();
|
||||
Reference in New Issue
Block a user