pow-co / run-db

An indexer that crawls the blockchain and calculates RUN states
MIT License
0 stars 0 forks source link

Convert Sqlite3 Statements to Use Sequelize Typescript ORM #8

Open owenkellogg opened 1 year ago

owenkellogg commented 1 year ago

That way the database queries can be strongly typed, defined in typescript rather than SQL, and most importantly will become portable across database technologies.

Once Sequelize is adopted for Sqlite it will be straightforward to switch to more robust, scalable Postgres.