Schema manipulation refers to any mutation of the schema. This could include renaming tables, dropping tables, etc. The most elegant way of doing this involves retrieving the AST of the sqlite schema and manipulating the AST, and then rendering the AST into a string of SQL that represents the schema.
Possible solutions:
Use sqlitebrowser AST implementation. Will need to port to JS (most practical option)
Compile sqlite to JS and expose the AST (lots of work)
Find a JS library that returns the AST of a sqlite schema
Schema manipulation refers to any mutation of the schema. This could include renaming tables, dropping tables, etc. The most elegant way of doing this involves retrieving the AST of the sqlite schema and manipulating the AST, and then rendering the AST into a string of SQL that represents the schema.
Possible solutions: