chase-moskal / xiome

open-source cloud-powered web components
https://xiome.io/
MIT License
10 stars 13 forks source link

consider huge database refactor to postgres #28

Closed chase-moskal closed 3 years ago

chase-moskal commented 3 years ago

okay, the nature of this issue changed

here were my reasons i thought of switching to postgres, and why i decided not

so that pretty much negates the urgency of any reason to refactor for postgres

plus, a sql refactor would require tons of big-brain energy over how we're going to declaratively specify schema structure in harmony with our typescript types, we'd have to create some sophisticated schema tooling. too much effort for too little value at this time

chase-moskal commented 3 years ago

so i created the concept of damnedb which could be a successor to dbby

i intended to make damnedb now to leverage mongodb's new transactions, but it's a no-go, it requires mongodb@4 which isn't quite ready -- we'll wait

in the meantime, i made DamnedId which i could integrate into dbby for ids to work on #3

closing this issue