Christmas cookie ranking site
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

add health route

+21
+16
generated/schema.sql
··· 246 246 247 247 248 248 -- 249 + -- Name: rankings rankings_account_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: - 250 + -- 251 + 252 + ALTER TABLE ONLY public.rankings 253 + ADD CONSTRAINT rankings_account_id_fkey FOREIGN KEY (account_id) REFERENCES public.accounts(id) ON UPDATE CASCADE ON DELETE CASCADE; 254 + 255 + 256 + -- 257 + -- Name: rankings rankings_cookie_id_year_fkey; Type: FK CONSTRAINT; Schema: public; Owner: - 258 + -- 259 + 260 + ALTER TABLE ONLY public.rankings 261 + ADD CONSTRAINT rankings_cookie_id_year_fkey FOREIGN KEY (cookie_id, year) REFERENCES public.cookies(id, year) ON UPDATE CASCADE ON DELETE CASCADE; 262 + 263 + 264 + -- 249 265 -- Name: reviews reviews_account_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: - 250 266 -- 251 267
+5
src/routes/health/+server.ts
··· 1 + import type { RequestHandler } from "./$types"; 2 + 3 + export const GET: RequestHandler = () => { 4 + return new Response("Ok"); 5 + };