Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: retirer dépendances inutiles #73

Merged
merged 2 commits into from
Jan 14, 2025
Merged

refactor: retirer dépendances inutiles #73

merged 2 commits into from
Jan 14, 2025

Conversation

mtlaso
Copy link
Owner

@mtlaso mtlaso commented Jan 14, 2025

No description provided.

Copy link

vercel bot commented Jan 14, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
bocal ⬜️ Ignored (Inspect) Visit Preview Jan 14, 2025 7:18am

Copy link

Neon logo Neon Schema Diff summary

Schema diff between the compare branch (preview/pr-73-refactor) and the base branch (main).

Index: neondb-schema.sql
===================================================================
--- neondb-schema.sql	Branch main
+++ neondb-schema.sql	Branch preview/pr-73-refactor
@@ -181,251 +181,5 @@
 
 ALTER TABLE public.sessions OWNER TO neondb_owner;
 
 --
--- Name: users; Type: TABLE; Schema: public; Owner: neondb_owner
---
-
-CREATE TABLE public.users (
-    id text NOT NULL,
-    name text,
-    email text,
-    "emailVerified" timestamp without time zone,
-    image text,
-    "feedContentLimit" integer DEFAULT 10 NOT NULL
-);
-
-
-ALTER TABLE public.users OWNER TO neondb_owner;
-
---
--- Name: users_feeds; Type: TABLE; Schema: public; Owner: neondb_owner
---
-
-CREATE TABLE public.users_feeds (
-    "userId" text NOT NULL,
-    "feedId" integer NOT NULL
-);
-
-
-ALTER TABLE public.users_feeds OWNER TO neondb_owner;
-
---
--- Name: users_feeds_read_content; Type: TABLE; Schema: public; Owner: neondb_owner
---
-
-CREATE TABLE public.users_feeds_read_content (
-    "userId" text NOT NULL,
-    "feedId" integer NOT NULL,
-    "feedContentId" text NOT NULL,
-    "readAt" timestamp without time zone DEFAULT now() NOT NULL
-);
-
-
-ALTER TABLE public.users_feeds_read_content OWNER TO neondb_owner;
-
---
--- Name: verification_tokens; Type: TABLE; Schema: public; Owner: neondb_owner
---
-
-CREATE TABLE public.verification_tokens (
-    identifier text NOT NULL,
-    token text NOT NULL,
-    expires timestamp without time zone NOT NULL
-);
-
-
-ALTER TABLE public.verification_tokens OWNER TO neondb_owner;
-
---
--- Name: __drizzle_migrations id; Type: DEFAULT; Schema: drizzle; Owner: neondb_owner
---
-
-ALTER TABLE ONLY drizzle.__drizzle_migrations ALTER COLUMN id SET DEFAULT nextval('drizzle.__drizzle_migrations_id_seq'::regclass);
-
-
---
--- Name: __drizzle_migrations __drizzle_migrations_pkey; Type: CONSTRAINT; Schema: drizzle; Owner: neondb_owner
---
-
-ALTER TABLE ONLY drizzle.__drizzle_migrations
-    ADD CONSTRAINT __drizzle_migrations_pkey PRIMARY KEY (id);
-
-
---
--- Name: accounts accounts_provider_providerAccountId_pk; Type: CONSTRAINT; Schema: public; Owner: neondb_owner
---
-
-ALTER TABLE ONLY public.accounts
-    ADD CONSTRAINT "accounts_provider_providerAccountId_pk" PRIMARY KEY (provider, "providerAccountId");
-
-
---
--- Name: authenticators authenticators_credentialID_unique; Type: CONSTRAINT; Schema: public; Owner: neondb_owner
---
-
-ALTER TABLE ONLY public.authenticators
-    ADD CONSTRAINT "authenticators_credentialID_unique" UNIQUE ("credentialID");
-
-
---
--- Name: authenticators authenticators_userId_credentialID_pk; Type: CONSTRAINT; Schema: public; Owner: neondb_owner
---
-
-ALTER TABLE ONLY public.authenticators
-    ADD CONSTRAINT "authenticators_userId_credentialID_pk" PRIMARY KEY ("userId", "credentialID");
-
-
---
--- Name: feeds feeds_pkey; Type: CONSTRAINT; Schema: public; Owner: neondb_owner
---
-
-ALTER TABLE ONLY public.feeds
-    ADD CONSTRAINT feeds_pkey PRIMARY KEY (id);
-
-
---
--- Name: feeds feeds_url_unique; Type: CONSTRAINT; Schema: public; Owner: neondb_owner
---
-
-ALTER TABLE ONLY public.feeds
-    ADD CONSTRAINT feeds_url_unique UNIQUE (url);
-
-
---
--- Name: links links_pkey; Type: CONSTRAINT; Schema: public; Owner: neondb_owner
---
-
-ALTER TABLE ONLY public.links
-    ADD CONSTRAINT links_pkey PRIMARY KEY (id);
-
-
---
--- Name: sessions sessions_pkey; Type: CONSTRAINT; Schema: public; Owner: neondb_owner
---
-
-ALTER TABLE ONLY public.sessions
-    ADD CONSTRAINT sessions_pkey PRIMARY KEY ("sessionToken");
-
-
---
--- Name: users users_email_unique; Type: CONSTRAINT; Schema: public; Owner: neondb_owner
---
-
-ALTER TABLE ONLY public.users
-    ADD CONSTRAINT users_email_unique UNIQUE (email);
-
-
---
--- Name: users_feeds_read_content users_feeds_read_content_userId_feedId_feedContentId_pk; Type: CONSTRAINT; Schema: public; Owner: neondb_owner
---
-
-ALTER TABLE ONLY public.users_feeds_read_content
-    ADD CONSTRAINT "users_feeds_read_content_userId_feedId_feedContentId_pk" PRIMARY KEY ("userId", "feedId", "feedContentId");
-
-
---
--- Name: users_feeds users_feeds_userId_feedId_pk; Type: CONSTRAINT; Schema: public; Owner: neondb_owner
---
-
-ALTER TABLE ONLY public.users_feeds
-    ADD CONSTRAINT "users_feeds_userId_feedId_pk" PRIMARY KEY ("userId", "feedId");
-
-
---
--- Name: users users_pkey; Type: CONSTRAINT; Schema: public; Owner: neondb_owner
---
-
-ALTER TABLE ONLY public.users
-    ADD CONSTRAINT users_pkey PRIMARY KEY (id);
-
-
---
--- Name: verification_tokens verification_tokens_identifier_token_pk; Type: CONSTRAINT; Schema: public; Owner: neondb_owner
---
-
-ALTER TABLE ONLY public.verification_tokens
-    ADD CONSTRAINT verification_tokens_identifier_token_pk PRIMARY KEY (identifier, token);
-
-
---
--- Name: accounts accounts_userId_users_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: neondb_owner
---
-
-ALTER TABLE ONLY public.accounts
-    ADD CONSTRAINT "accounts_userId_users_id_fk" FOREIGN KEY ("userId") REFERENCES public.users(id) ON DELETE CASCADE;
-
-
---
--- Name: authenticators authenticators_userId_users_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: neondb_owner
---
-
-ALTER TABLE ONLY public.authenticators
-    ADD CONSTRAINT "authenticators_userId_users_id_fk" FOREIGN KEY ("userId") REFERENCES public.users(id) ON DELETE CASCADE;
-
-
---
--- Name: links links_userId_users_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: neondb_owner
---
-
-ALTER TABLE ONLY public.links
-    ADD CONSTRAINT "links_userId_users_id_fk" FOREIGN KEY ("userId") REFERENCES public.users(id) ON DELETE CASCADE;
-
-
---
--- Name: sessions sessions_userId_users_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: neondb_owner
---
-
-ALTER TABLE ONLY public.sessions
-    ADD CONSTRAINT "sessions_userId_users_id_fk" FOREIGN KEY ("userId") REFERENCES public.users(id) ON DELETE CASCADE;
-
-
---
--- Name: users_feeds users_feeds_feedId_feeds_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: neondb_owner
---
-
-ALTER TABLE ONLY public.users_feeds
-    ADD CONSTRAINT "users_feeds_feedId_feeds_id_fk" FOREIGN KEY ("feedId") REFERENCES public.feeds(id) ON DELETE CASCADE;
-
-
---
--- Name: users_feeds_read_content users_feeds_read_content_feedId_feeds_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: neondb_owner
---
-
-ALTER TABLE ONLY public.users_feeds_read_content
-    ADD CONSTRAINT "users_feeds_read_content_feedId_feeds_id_fk" FOREIGN KEY ("feedId") REFERENCES public.feeds(id) ON DELETE CASCADE;
-
-
---
--- Name: users_feeds_read_content users_feeds_read_content_userId_users_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: neondb_owner
---
-
-ALTER TABLE ONLY public.users_feeds_read_content
-    ADD CONSTRAINT "users_feeds_read_content_userId_users_id_fk" FOREIGN KEY ("userId") REFERENCES public.users(id) ON DELETE CASCADE;
-
-
---
--- Name: users_feeds users_feeds_userId_users_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: neondb_owner
---
-
-ALTER TABLE ONLY public.users_feeds
-    ADD CONSTRAINT "users_feeds_userId_users_id_fk" FOREIGN KEY ("userId") REFERENCES public.users(id) ON DELETE CASCADE;
-
-
---
--- Name: DEFAULT PRIVILEGES FOR SEQUENCES; Type: DEFAULT ACL; Schema: public; Owner: cloud_admin
---
-
-ALTER DEFAULT PRIVILEGES FOR ROLE cloud_admin IN SCHEMA public GRANT ALL ON SEQUENCES  TO neon_superuser WITH GRANT OPTION;
-
-
---
--- Name: DEFAULT PRIVILEGES FOR TABLES; Type: DEFAULT ACL; Schema: public; Owner: cloud_admin
---
-
-ALTER DEFAULT PRIVILEGES FOR ROLE cloud_admin IN SCHEMA public GRANT ALL ON TABLES  TO neon_superuser WITH GRANT OPTION;
-
-
---
--- PostgreSQL database dump complete
---
-
+-- Name: users; Type: TABLE; Schema: p
\ No newline at end of file

This comment was last updated at Tue, 14 Jan 2025 07:17:05 GMT

Copy link

@mtlaso mtlaso merged commit 05622c7 into master Jan 14, 2025
5 checks passed
@mtlaso mtlaso deleted the refactor branch January 14, 2025 07:20
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant