There is an issue where SQLite database columns are returned from the Outerbase API as a STRING instead of the column type it actually is, which is TEXT.
Steps to recreate:
- Create an Outerbase SQLite database
- Add a new table to the database
- Create a new column in that table with the type set to
TEXT
- Run the script
sync-database-models
- Observe the new column in the generated Typescript model has it listed as
any type instead of string