Generate up and down TypeScript code strings (4-space-indented\n * fragments) for creating a table from a schema.
Unlike generateCreateTable (which returns a Knex callback), the
output is plain source text suitable for writing into a migration file. The
fragments are designed to be embedded directly inside up() / down()
functions.
Generate
upanddownTypeScript code strings (4-space-indented\n * fragments) for creating a table from a schema.Unlike generateCreateTable (which returns a Knex callback), the output is plain source text suitable for writing into a migration file. The fragments are designed to be embedded directly inside
up()/down()functions.