ulixee / platform

Home of the Ulixee Open Data Platform
https://ulixee.org/
MIT License
42 stars 9 forks source link

Removing datastores (migrating issue) #207

Open liamtsang opened 2 weeks ago

liamtsang commented 2 weeks ago

Is there currently a way to remove a datastore / datastore version from a cloud?

My reason for this is that I attempted to upload a 0.0.2 version of my datastore and migrating the table data over - but the migration failed. Now any further attempts will migrate from the new "previous" version - which is 0.0.2 with an empty table.

Is there a way to remove datastores? Or is there at least a workaround at the moment for versioning / accessing a previous datastore for migration? 0.0.1.1 or something?

liamtsang commented 2 weeks ago

Attempted to do a 0.0.1.x hack: The url added a ton of slashes at the end for some reason like this:

localhost:1818/mydatastore@v0.0.1.9////////////////////

The page isn’t redirecting properly

Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

    This problem can sometimes be caused by disabling or refusing to accept cookies.

Im assuming best steps forwards right now is to package the dbx and rebuild the cloud

blakebyrnes commented 2 weeks ago

There's not a delete api, but you can log into your server and edit the sqlite db there inside <DATA>/ulixee/datastores/metadata.db (https://ulixee.org/docs/datastore/overview/configuration#storage)