1. Yes. Once `deleteAll` is called everything is deleted, including all your tables. > 2. [...] I d

  1. Yes. Once
    deleteAll
    is called everything is deleted, including all your tables.
  1. [...] I don't know whether to re-create them or not. Is there a solution to this?
I don't understand the question. If you decided to delete all the data for a DO, why would you want to handle a request to it and re-create the tables?
If you want to gracefully fail the request, check if the tables exist when handling the request, and if not return the appropriate error. If you want incoming requests to still have their tables, why are you deleting them in the first place then?
Was this page helpful?