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

devops: db seeds #196

Merged
merged 6 commits into from
Apr 19, 2024
Merged

devops: db seeds #196

merged 6 commits into from
Apr 19, 2024

Conversation

gaboesquivel
Copy link
Member

@gaboesquivel gaboesquivel commented Apr 19, 2024

Summary by CodeRabbit

  • Database Enhancements

    • Modified ownership and default values for database schema elements.
    • Improved table descriptions and added constraints and indexes.
    • Updated privileges for roles and functions within the database.
  • New Features

    • Introduced a new script for generating schemas, enhancing development efficiency.

Copy link

vercel bot commented Apr 19, 2024

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

Name Status Preview Comments Updated (UTC)
masterbots ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 19, 2024 7:19am

Copy link
Contributor

coderabbitai bot commented Apr 19, 2024

Walkthrough

The recent updates bring significant improvements to database schema management and development in a Supabase project. Key changes include ownership adjustments, detailed documentation, security enhancements, and a new script for generating schemas from types, streamlining the development process.

Changes

File Path Summary of Changes
.../migrations/..._schema.sql Ownership changed, added comments, altered column defaults, added constraints/indexes, adjusted privileges.
.../seeds/masterbots/1713507723477_tables_seed.sql Introduced seed data for enums related to message attributes.
.../seeds/masterbots/1713508085659_tables_seed.sql Inserted user data into the "user" table.
.../supabase/package.json Added a script for schema generation using supabase-to-zod.

🐇✨
In the garden of code, changes bloom,
A schema shifts, a script takes room.
Tables dressed in comments fair,
Privileges placed with utmost care.
Oh, how the database now hums,
Under the watchful eyes of ones and sums. 🌟
🐇✨


Recent Review Details

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 05306a1 and 6122cd8.
Files ignored due to path filters (1)
  • bun.lockb is excluded by !bun.lockb
Files selected for processing (4)
  • apps/hasura/seeds/masterbots/1713507723477_tables_seed.sql (1 hunks)
  • apps/hasura/seeds/masterbots/1713507749283_tables_seed.sql (1 hunks)
  • apps/hasura/seeds/masterbots/1713508085659_tables_seed.sql (1 hunks)
  • apps/supabase/package.json (1 hunks)
Files not summarized due to errors (1)
  • apps/hasura/seeds/masterbots/1713507749283_tables_seed.sql: Error: Message exceeds token limit
Files skipped from review as they are similar to previous changes (1)
  • apps/supabase/package.json
Additional comments not posted (10)
apps/hasura/seeds/masterbots/1713507723477_tables_seed.sql (2)

1-1: Ensure that disabling check_function_bodies is necessary and safe.

This setting disables certain checks for function bodies, which can be risky. Verify that this is necessary for your use case and consider enabling it afterward if possible.


2-20: Enum values insertion looks correct and consistent.

The syntax and structure of the INSERT statements are correct, and they consistently follow the pattern for enum value insertion.

apps/hasura/seeds/masterbots/1713508085659_tables_seed.sql (2)

1-1: Ensure that disabling check_function_bodies is necessary and safe.

This setting disables certain checks for function bodies, which can be risky. Verify that this is necessary for your use case and consider enabling it afterward if possible.


26-26: Ensure the correct usage of setval for sequence resetting.

The setval function is used to reset the sequence for user_chatbot_preference_preference_id_seq. Verify that this is the correct sequence and that the reset value and is_called flag are set appropriately.

apps/hasura/seeds/masterbots/1713507749283_tables_seed.sql (6)

1-1: Ensure that disabling check_function_bodies is necessary and safe.

Disabling this setting can speed up restoration from a dump by skipping execution of function bodies. However, it might hide errors in functions. Verify that this is an acceptable risk in your deployment process.


2-12: Check for potential duplication or missing categories.

Ensure that all category IDs are unique and that there are no unintended gaps which might suggest missing categories.


13-49: Review the consistency and completeness of chatbot entries.

Each chatbot entry includes multiple attributes such as name, description, avatar, etc. Ensure that all fields are consistently filled and adhere to the intended format, especially URLs and enum values.


50-86: Validate the mapping of chatbots to categories.

Ensure that all chatbot IDs in the category mappings correspond to valid entries in the chatbot table to prevent integrity issues.

Verification successful

The verification process has confirmed that all chatbot IDs in the category mappings correspond to valid entries in the chatbot table. There are no discrepancies or integrity issues with the mappings in the provided SQL seed file.

Scripts Executed

The following scripts were executed for the analysis:


Script:

#!/bin/bash
# Check for any chatbot IDs referenced in the category mapping that do not exist in the chatbot table.
rg --type sql "INSERT INTO public.chatbot_category" apps/hasura/seeds/masterbots/1713507749283_tables_seed.sql | awk '{print $6}' | sort | uniq | while read id; do
  if ! rg --type sql "INSERT INTO public.chatbot (chatbot_id, name" apps/hasura/seeds/masterbots/1713507749283_tables_seed.sql | grep -q "($id,"; then
    echo "Chatbot ID $id in category mapping does not exist in chatbot table."
  fi
done

Length of output: 582



Script:

#!/bin/bash
# Corrected script to check for any chatbot IDs referenced in the category mapping that do not exist in the chatbot table.
rg --type sql "INSERT INTO public.chatbot_category" apps/hasura/seeds/masterbots/1713507749283_tables_seed.sql | awk '{print $6}' | sort | uniq | while read id; do
  if ! rg --type sql "INSERT INTO public.chatbot \(chatbot_id, name" apps/hasura/seeds/masterbots/1713507749283_tables_seed.sql | grep -q "($id,"; then
    echo "Chatbot ID $id in category mapping does not exist in chatbot table."
  fi
done

Length of output: 460



Script:

#!/bin/bash
# Further corrected script to accurately extract chatbot IDs and check for any chatbot IDs referenced in the category mapping that do not exist in the chatbot table.
rg --type sql "INSERT INTO public.chatbot_category" apps/hasura/seeds/masterbots/1713507749283_tables_seed.sql | awk -F'[(),]' '{print $3}' | sort | uniq | while read id; do
  if ! rg --type sql "INSERT INTO public.chatbot \(chatbot_id, name" apps/hasura/seeds/masterbots/1713507749283_tables_seed.sql | grep -q "($id,"; then
    echo "Chatbot ID $id in category mapping does not exist in chatbot table."
  fi
done

Length of output: 485



Script:

#!/bin/bash
# Further corrected script to accurately extract chatbot IDs and check for any chatbot IDs referenced in the category mapping that do not exist in the chatbot table.
rg --type sql "INSERT INTO public.chatbot_category" apps/hasura/seeds/masterbots/1713507749283_tables_seed.sql | awk -F'[(), ]+' '{print $4}' | sort | uniq | while read id; do
  if ! rg --type sql "INSERT INTO public.chatbot \(chatbot_id, name" apps/hasura/seeds/masterbots/1713507749283_tables_seed.sql | grep -q "($id,"; then
    echo "Chatbot ID $id in category mapping does not exist in chatbot table."
  fi
done

Length of output: 325


87-199: Ensure the integrity and relevance of all prompt entries.

The prompts are detailed and cover a wide range of topics. Verify that all prompts are relevant to the chatbots they are associated with and that the prompt types (e.g., 'prompt', 'instruction') are used correctly.


197-199: Confirm the sequence values are correctly set.

Verify that the sequence values for category_id, chatbot_id, and prompt_id are set correctly to avoid issues with future inserts that depend on these sequences.


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

github-actions bot commented Apr 19, 2024

⚡️ Lighthouse report

Page: https://masterbots-f129diobb-bitcash.vercel.app/
Report https://storage.googleapis.com/lighthouse-infrastructure.appspot.com/reports/1713511587547-17334.report.html

Category Score
🔴 Performance 48
🟠 Accessibility 59
🟠 Best practices 74
🔴 SEO 42
🔴 PWA 13

Page: https://masterbots-f129diobb-bitcash.vercel.app/b/moneybot
Report https://storage.googleapis.com/lighthouse-infrastructure.appspot.com/reports/1713511588162-54561.report.html

Category Score
🟠 Performance 56
🟢 Accessibility 96
🟠 Best practices 78
🟠 SEO 85
🔴 PWA 38

Page: https://masterbots-f129diobb-bitcash.vercel.app/u/slug-1
Report https://storage.googleapis.com/lighthouse-infrastructure.appspot.com/reports/1713511588527-44997.report.html

Category Score
🟠 Performance 56
🟢 Accessibility 94
🟠 Best practices 78
🟠 SEO 83
🔴 PWA 38

Page: https://masterbots-f129diobb-bitcash.vercel.app/p
Report https://storage.googleapis.com/lighthouse-infrastructure.appspot.com/reports/1713511593239-67655.report.html

Category Score
🟠 Performance 61
🟢 Accessibility 92
🟠 Best practices 78
🟠 SEO 76
🔴 PWA 38

Page: https://masterbots-f129diobb-bitcash.vercel.app/health
Report https://storage.googleapis.com/lighthouse-infrastructure.appspot.com/reports/1713511593685-92649.report.html

Category Score
🟠 Performance 59
🟠 Accessibility 59
🟠 Best practices 74
🔴 SEO 42
🔴 PWA 13

Page: https://masterbots-f129diobb-bitcash.vercel.app/health/a8103808-14a3-48ed-aa5a-9e490cfdcf0e
Report https://storage.googleapis.com/lighthouse-infrastructure.appspot.com/reports/1713511594026-91511.report.html

Category Score
🟠 Performance 57
🟠 Accessibility 59
🟠 Best practices 74
🔴 SEO 42
🔴 PWA 13

@gaboesquivel gaboesquivel merged commit df6cd35 into alpha Apr 19, 2024
4 checks passed
@gaboesquivel gaboesquivel deleted the database-seeds branch April 19, 2024 07:21
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Comment on lines +2 to +25
INSERT INTO public."user" (username, email, password, date_joined, last_login, profile_picture, user_id, slug) VALUES ('Nathan_Liu', '[email protected]', 'GEV6noK', '2024-02-21 22:46:17.757095+00', '2024-02-21 22:46:17.757095+00', 'https://lh3.googleusercontent.com/a/ACg8ocKKyPeZVGFmPF42I_Y06vyep892vAlpuf2yK2RLyVwvX13Xig=s96-c', '0c961ecd-0cfa-4a9d-967d-8af7a8887e9c', 'nathan_liu');
INSERT INTO public."user" (username, email, password, date_joined, last_login, profile_picture, user_id, slug) VALUES ('Jun_Dam', '[email protected]', 'FCIpq00', '2024-01-14 18:14:53.594823+00', '2024-01-14 18:14:53.594823+00', 'https://lh3.googleusercontent.com/a/ACg8ocLFjVXBvauevjmk5OF3tLVG2GkU0YvkrG6Wvga-y9tVdC6Ung=s96-c', '02d4f50c-f432-448f-a1c3-67dcf2cb808f', 'jun_dam');
INSERT INTO public."user" (username, email, password, date_joined, last_login, profile_picture, user_id, slug) VALUES ('Andler_Lucas', '[email protected]', 'Y0itsvQ', '2024-01-14 17:30:00.135547+00', '2024-01-14 17:30:00.135547+00', 'https://lh3.googleusercontent.com/a/ACg8ocID9PfpeBwP0-X21cAKHiLk5TVaq0r0A0GFgm1Rfgr0i5w1Gg=s96-c', 'f536b500-5f37-4794-b3ca-d96041f0bb67', 'andler_lucas');
INSERT INTO public."user" (username, email, password, date_joined, last_login, profile_picture, user_id, slug) VALUES ('merivercap', '[email protected]', '123456masterbots', '2023-10-31 03:15:18.467907+00', '2023-10-31 03:15:18.467907+00', NULL, 'dee09b2d-b1ad-4ef7-b475-4bf7703dce12', 'merivercap');
INSERT INTO public."user" (username, email, password, date_joined, last_login, profile_picture, user_id, slug) VALUES ('DefaultUser123', '[email protected]', 'defaultPassword', '2023-11-04 04:58:18.582273+00', '2023-11-04 04:58:18.582273+00', NULL, '9e252762-a8d7-414b-9d32-600f9634f432', 'defaultuser123');
INSERT INTO public."user" (username, email, password, date_joined, last_login, profile_picture, user_id, slug) VALUES ('Kevin_Wolf', '[email protected]', 'MFD4PTF', '2024-01-03 15:38:32.192958+00', '2024-01-03 15:38:32.192958+00', 'https://lh3.googleusercontent.com/a/ACg8ocJNUaa1Cer9laGTbczugo_QOeOSJoFvW-MFMI8y2n2YTA=s96-c', '1154b621-56d1-4183-b521-b7cc3997d745', 'kevin_wolf');
INSERT INTO public."user" (username, email, password, date_joined, last_login, profile_picture, user_id, slug) VALUES ('Brian_Sorel', '[email protected]', 'Z9Ofwfz', '2024-02-20 22:30:59.786661+00', '2024-02-20 22:30:59.786661+00', 'https://lh3.googleusercontent.com/a/ACg8ocKb4GEbBBMZqwgJd9aknT4bCM83uNlO0JzysUlto59iWrA=s96-c', '1bc4c4fe-5238-420d-a604-ee420c863b93', 'brian_sorel');
INSERT INTO public."user" (username, email, password, date_joined, last_login, profile_picture, user_id, slug) VALUES ('maria_GC', '[email protected]', '8XQ6YW7', '2024-03-26 06:20:14.637862+00', '2024-03-26 06:20:14.637862+00', 'https://lh3.googleusercontent.com/a/ACg8ocJsmvAXV47JxrTfuuHFZl3XRra_38YHqkvV81m4KsQt=s96-c', '544afdc0-55d5-4b44-ab32-13416501a3c6', 'maria_gc');
INSERT INTO public."user" (username, email, password, date_joined, last_login, profile_picture, user_id, slug) VALUES ('JIMOH_SHERIFDEEN', '[email protected]', 'USqoiWd', '2024-03-26 05:36:29.707825+00', '2024-03-26 05:36:29.707825+00', 'https://lh3.googleusercontent.com/a/ACg8ocLpN8eC9Wkz5YRYlFYjY_RVRsE--W0zviLmwwpHOHyHnQ=s96-c', 'b663abf3-475e-45e1-bf8e-4a7a679b8af7', 'jimoh_sherifdeen');
INSERT INTO public."user" (username, email, password, date_joined, last_login, profile_picture, user_id, slug) VALUES ('Max', '[email protected]', '9SAx0jN', '2024-02-26 15:02:10.082111+00', '2024-02-26 15:02:10.082111+00', 'https://lh3.googleusercontent.com/a/ACg8ocJ68dKJf9VnhwQBFFg0L477INg2g5aRmHpsENLJUq8Xkw=s96-c', '1bae23b0-6566-42af-a342-8fe87cd11569', 'max');
INSERT INTO public."user" (username, email, password, date_joined, last_login, profile_picture, user_id, slug) VALUES ('Anouk_Rimola', '[email protected]', 'J3aMcdb', '2024-03-05 22:18:06.181323+00', '2024-03-05 22:18:06.181323+00', 'https://lh3.googleusercontent.com/a/ACg8ocI5mm1WEyjg4eXcEjekYYxugW4Dn-zg4f4A3AjjguqD=s96-c', 'e50720f6-ccbf-4620-9c3d-d8ed13112903', 'anouk_rimola');
INSERT INTO public."user" (username, email, password, date_joined, last_login, profile_picture, user_id, slug) VALUES ('Pilar', '[email protected]', 'sSMjEuR', '2024-03-06 05:00:59.117609+00', '2024-03-06 05:00:59.117609+00', 'https://lh3.googleusercontent.com/a/ACg8ocJ5DSGRbUUPA8UOjcb8FvMmCa-QkXrQqS0z6TQXBzLyYzFL=s96-c', 'f7681c4a-a15b-4bb5-ae23-6e9cc04c2eff', 'pilar');
INSERT INTO public."user" (username, email, password, date_joined, last_login, profile_picture, user_id, slug) VALUES ('Nathanael_Liu', '[email protected]', 'D3kC06w', '2024-01-14 21:10:52.375419+00', '2024-01-14 21:10:52.375419+00', 'https://lh3.googleusercontent.com/a/ACg8ocKfX7ZLZyj302ZU5lWZbzmsKDccEnTZuaQJNve5HeGwyg=s96-c', '82e2c7b0-2984-4cbf-99e2-8ffa0593c614', 'nathanael_liu');
INSERT INTO public."user" (username, email, password, date_joined, last_login, profile_picture, user_id, slug) VALUES ('Andler_Romero', '[email protected]', 'fhmQvA3', '2024-01-02 16:45:48.786861+00', '2024-01-02 16:45:48.786861+00', 'https://lh3.googleusercontent.com/a/ACg8ocKFNtwlqAJ6rfK8juToX485tvUnN7B3V6192o8hDmlq=s96-c', '8df8d8fb-c392-4454-8370-33eca4df7b65', 'andler_romero');
INSERT INTO public."user" (username, email, password, date_joined, last_login, profile_picture, user_id, slug) VALUES ('Roberto_Lucas_(AndlerRL)', '[email protected]', 'of26pl7', '2024-03-04 00:17:59.83202+00', '2024-03-04 00:17:59.83202+00', 'https://lh3.googleusercontent.com/a/ACg8ocJnXwCKNyMhjsv-82nkhPSskexog_wxtF9CsaavRhKd0W6L=s96-c', '33059f83-6cee-40da-93ee-87a3ea5dc61c', 'roberto_lucas_(andlerrl)');
INSERT INTO public."user" (username, email, password, date_joined, last_login, profile_picture, user_id, slug) VALUES ('Thibault_Henriet', '[email protected]', 'xSuPrlt', '2024-01-17 07:51:04.886506+00', '2024-01-17 07:51:04.886506+00', 'https://lh3.googleusercontent.com/a/ACg8ocLbKEhFFpq7RMxH1hrvGU3I5iF1ayo7gPw17klS9bYT=s96-c', '8e817531-6dc2-4381-b419-967a08263630', 'thibault_henriet');
INSERT INTO public."user" (username, email, password, date_joined, last_login, profile_picture, user_id, slug) VALUES ('Jimoh_Sherifdeen', '[email protected]', 'Smwiebv', '2024-03-26 16:41:02.585239+00', '2024-03-26 16:41:02.585239+00', 'https://lh3.googleusercontent.com/a/ACg8ocLDn0m7LwDpKzZNhgXtns9PWtkyqi2AQmLQ_1zt-Smo=s96-c', 'df2b3eea-181b-47df-a278-5de0e36a0987', 'jimoh_sherifdeen1');
INSERT INTO public."user" (username, email, password, date_joined, last_login, profile_picture, user_id, slug) VALUES ('Vikas_Sahu', '[email protected]', 'pqJLSXH', '2024-03-22 19:40:07.589874+00', '2024-03-22 19:40:07.589874+00', 'https://lh3.googleusercontent.com/a/ACg8ocL54nPwBZvyVgbzxiNoLQ3FAiInGHLJg_MpwOqIUuameqWZ=s96-c', 'a5863b72-5fed-4952-8b1c-c723d52d6c9b', 'vikas_sahu');
INSERT INTO public."user" (username, email, password, date_joined, last_login, profile_picture, user_id, slug) VALUES ('Brandon_Fernandez', '[email protected]', 'mtJ6x71', '2024-03-11 16:29:02.761856+00', '2024-03-11 16:29:02.761856+00', 'https://lh3.googleusercontent.com/a/ACg8ocJ3NEbnTGjAegjgoL5vNxHfWTefZYEHGEm0gbsLMh1_=s96-c', '8bfb30ba-e4cf-4f93-8795-d7204280223c', 'brandon_fernandez');
INSERT INTO public."user" (username, email, password, date_joined, last_login, profile_picture, user_id, slug) VALUES ('Robert_Chandler', '[email protected]', 'mMft4Iv', '2024-03-26 01:46:36.271159+00', '2024-03-26 01:46:36.271159+00', 'https://lh3.googleusercontent.com/a/ACg8ocJQVoOK8A7BH4sTj_XeRdqwPCCI8iHa1P1daKba2KPPU4g=s96-c', '090e0846-35db-434d-9db3-4254af3a330c', 'robert_chandler');
INSERT INTO public."user" (username, email, password, date_joined, last_login, profile_picture, user_id, slug) VALUES ('Sheriff_Jimoh', '[email protected]', '5Q00Ijw', '2024-03-26 05:43:05.536774+00', '2024-03-26 05:43:05.536774+00', 'https://lh3.googleusercontent.com/a/ACg8ocKMzNysSn31sulUK9PhejYnFDXFCT76jM08YEGz3MkF=s96-c', '51ef790c-52d4-4f3d-876c-5f541070ca42', 'sheriff_jimoh');
INSERT INTO public."user" (username, email, password, date_joined, last_login, profile_picture, user_id, slug) VALUES ('Andrey_Fernandez', '[email protected]', '9MgnacL', '2024-01-29 16:08:57.619772+00', '2024-01-29 16:08:57.619772+00', 'https://lh3.googleusercontent.com/a/ACg8ocJ2GoGIwaD6E6K0fp6K-S6W1J1vlKj1RCxT6cYfdv8aq4Zgug=s96-c', '020d2160-5046-4363-897b-65135b256e94', 'andrey_fernandez');
INSERT INTO public."user" (username, email, password, date_joined, last_login, profile_picture, user_id, slug) VALUES ('Roberto_Lucas', '[email protected]', 'P1d8q2A', '2024-01-21 18:39:51.034844+00', '2024-01-21 18:39:51.034844+00', 'https://lh3.googleusercontent.com/a/ACg8ocKyzpNEh_XbxqThpldg7LD1LawnAxQiulZCqKSs7MGtbyK2CA=s96-c', '514e4906-338b-488f-8bb6-82a1a9f7946b', 'roberto_lucas');
INSERT INTO public."user" (username, email, password, date_joined, last_login, profile_picture, user_id, slug) VALUES ('Gabo_Esquivel', '[email protected]', 'AOd4WsV', '2023-12-28 22:14:13.495312+00', '2023-12-28 22:14:13.495312+00', 'https://lh3.googleusercontent.com/a/ACg8ocLF4WvTmOS2ytgvN14RmXwjoJ_wsB6CmKFsJOllGrmGut-htnD9=s96-c', '5d160c32-3826-4410-acfe-a1dd54dae80f', 'gabo_esquivel');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review the security of storing plain passwords in the database.

It appears that passwords are being stored as plain text in the database. This is a significant security risk. Consider hashing passwords before storing them.

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