Goal of this task is collect all necessary SQL commands before executing them (in from of array of strings) and then execute all of them one by one. It will be also nice to BEGIN and END transaction and if anything fails we rollback so we no longer risk having a database partially created. The way I see it (feel free to change a name)
const createDatabasSQLcommandList = (): string[] const executeSQLWithTransaction = (sqls: string[]): void
Its best to do this task after T3031 is done