tursodatabase / turso-cli

Command line interface to Turso.
https://turso.tech
MIT License
220 stars 37 forks source link

`db create` and `db destroy` don't update db names cache any more #415

Closed haaawk closed 1 year ago

haaawk commented 1 year ago
╰──> turso db destroy pragma-test2 -y
Destroyed database pragma-test2 in 1 seconds.
╰──> turso db create pragma-test3  
Created database pragma-test3 in Warsaw, Poland (waw) in 6 seconds.

You can start an interactive SQL shell with:

   turso db shell pragma-test3

To see information about the database, including a connection URL, run:

   turso db show pragma-test3

╰──> turso db shell <tab>          
global-latency  pragma-test2    tests           vercel-global

Potentially a regression after https://github.com/chiselstrike/turso-cli/pull/392

haaawk commented 1 year ago

CC @athoscouto

haaawk commented 1 year ago

db list still updates the db names cache correctly

haaawk commented 1 year ago

That's my suspect d75f14f9def6dd02a4f4c364d2770bb2c74d303d