Andreas Thomas

Results 410 comments of Andreas Thomas

oh good catch, you need to enable foreign keys in your db ![CleanShot 2024-01-10 at 16 59 30@2x](https://github.com/unkeyed/unkey/assets/18246773/b80953f5-4256-48d2-a3c5-6f2dc3f52472)

![CleanShot 2024-01-10 at 18 06 54@2x](https://github.com/unkeyed/unkey/assets/18246773/344dbff2-184d-4349-a840-9fcdf0647e9e) You can use your user id from clerk, or create an organisation and use it's id (=orgId) double check if you're in the root,...

should be `apps/api/.dev.vars` I'll fix it this is only necessary if you plan to work on the API though.

Looks good, maybe I'm missing something but the PR does not seem to reflect that yet?

yes it's the backend that is slow, I linked the code above

the only bottleneck is in the backend, the ui just sends a trpc request

Yeah, I deliberately didn't do a promise.all, cause apparently that's an [issue with planetscale](https://github.com/mattrobenolt/ps-http-sim/issues/7) I haven't looked much deeper though and just accepted that it might be a bit slower...