diff --git a/README.md b/README.md index a8df8cb9..d3b75d22 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,9 @@ $$;
Enums
-Currently, drizzle does not automatically create enums for you. You will have to create them manually. This [link](https://orm.drizzle.team/docs/column-types/pg#enum) should give you a good idea of how to create enums in postgres. +Run the following command to create the proper enums: + +CREATE TYPE platform AS ENUM ('discord', 'youtube', 'twitch', 'facebook', 'twitter', 'instagram', 'website', 'email', 'other');

diff --git a/src/components/DirectoryOrgs.tsx b/src/components/DirectoryOrgs.tsx index 3d96c939..90c9d3c1 100644 --- a/src/components/DirectoryOrgs.tsx +++ b/src/components/DirectoryOrgs.tsx @@ -16,7 +16,7 @@ const OrgDirectoryCards: FC = ({ club, session, priority }) => { const name = club.name.length > 20 ? club.name.slice(0, 30) + '...' : club.name; return ( -
+
= ({ club, session, priority }) => {
-
+

{name}

diff --git a/src/components/OrgDirectoryGrid.tsx b/src/components/OrgDirectoryGrid.tsx index da210e77..bd6333dc 100644 --- a/src/components/OrgDirectoryGrid.tsx +++ b/src/components/OrgDirectoryGrid.tsx @@ -14,7 +14,7 @@ const OrgDirectoryGrid: FC = async ({ tag }) => { const session = await getServerAuthSession(); return ( -
+
{clubs.map((club) => ( ))}