Badget icon indicating copy to clipboard operation
Badget copied to clipboard

Feature: Change DB

Open akinwol opened this issue 1 year ago • 5 comments

Type of feature

💡 Feature

Current behavior

  • Planetscale is deprecating their free tier
  • Base paid tier is quite costly
  • Need to change DB

Suggested solution

The community has agreed to move to neon

Proposed solution recommended by @matteobad @matteobadini

  • local development with docker postgres
  • open PR with changes
  • GitHub actions will create a new DB branch + create migration and run them + deploy vercel preview
  • PR is merged, Git branch and DB branch are deleted

Additional context

Further discussions here -> https://github.com/t3-oss/create-t3-turbo/issues/915 No response

akinwol avatar Mar 13 '24 19:03 akinwol

TiDB Serverless is free up to 5GB and 50M Request Units (RUs) without the need to enter a credit card. It is compatible with MySQL, so migrating from PlanetScale to TiDB Serverless should be very easy.

hooopo avatar Mar 14 '24 09:03 hooopo

@akinwol might I suggest https://postgresapp.com/ for local development for Mac users? It's still a connection string so no change would be needed, just an easier starting point which I don't mind writing the instructions/docs for

shouryan01 avatar Mar 14 '24 17:03 shouryan01

help i don't know where to go now that planetscale is gone :( Turso seems cool but why SQLite/libsql ?? Neon is postgres, meh

dBianchii avatar Mar 18 '24 17:03 dBianchii

Hello @dBianchii. The community has chosen to go with Neon, at least that is the latest. Or am i wrong @matteobad ?

Codehagen avatar Mar 18 '24 18:03 Codehagen

@matteobad how we doing with this ? Any updates here?

akinwol avatar Mar 21 '24 21:03 akinwol