Page MenuHomeSealhub

Sealious PostgreSQL integration - create list of SQL strings to execute as next step before adding full migration feature
Open, NormalPublic1 Points

Description

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