amilajack / falcon-core-old

The cross-database ORM that powers falcon
MIT License
2 stars 1 forks source link

Investigate: Get sqlite AST for schema manipulation #41

Open amilajack opened 6 years ago

amilajack commented 6 years ago

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: