Content
@
0 reply
0 recast
0 reaction
Kevin
@typedarray.eth
Should Ponder replace SQLite with PGlite (pglite.dev) as the dev database? Pros: 1) Less magic/astonishment ("wait, what database am I using rn?") 2) Simpler schema definition API (currently stuck with the subset of stuff that both PG and SQLite support)
10 replies
3 recasts
142 reactions
Daniel - Bountycaster
@pirosb3
When you say as a "dev database" are you referring to local development?
2 replies
0 recast
1 reaction
Daniel - Bountycaster
@pirosb3
Would opt for the same database in local and prod. With Docker nowadays, unless you are running something like Cassandra or Elasticsearch there is little to no downside in spinning up your local Postgres docker run --name local-postgres -e POSTGRES_PASSWORD=mysecretpassword -p 5432:5432 -d postgres
0 reply
0 recast
1 reaction
Kevin
@typedarray.eth
Yes. More precisely - what database is used the very first time someone runs Ponder on their local machine. It needs to be in-process - if you had to start a PG server to get Ponder working, I estimate ~50% of current users would have churned at that step 🤷♂️
1 reply
0 recast
1 reaction