'use strict';
import { npmCommands } from '../constants/npm-commands.js';
import { execCommand } from '../tools/exec.js';
import { cliLogInfo } from '../../../fd-toolbox/logging/cli-logger.js';

var __defProp=Object['defineProperty'],__name=(_0x3157b0,_0x194cce)=>__defProp(_0x3157b0,'name',{'value':_0x194cce,'configurable':!![]});async function initDb(_0x4ecf68){cliLogInfo('Initializing\x20DB...'),await execCommand(npmCommands['migrateDb'],_0x4ecf68),await execCommand(npmCommands['seedDb'],_0x4ecf68);}__name(initDb,'initDb');

export { initDb };
