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

🐛 [BUG]: likes and reports columns missing from chatbots table #135

Closed
4 tasks done
parteekxo opened this issue Oct 19, 2024 · 2 comments
Closed
4 tasks done

🐛 [BUG]: likes and reports columns missing from chatbots table #135

parteekxo opened this issue Oct 19, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@parteekxo
Copy link
Contributor

parteekxo commented Oct 19, 2024

Description

The chatbots table is missing the likes and reports columns, causing an error when attempting to query the table. This occurs when the application tries to retrieve chatbot data that includes these fields. Without these columns, the database cannot process certain queries, leading to an OperationalError.

Approach

To resolve this, we will modify the database schema to include the missing likes and reports columns. These columns should be added with appropriate data types (e.g., integer for likes and reports) using a migration script to update the database.

Screenshots 📷

image

Proposed Changes

Create a database migration to add likes and reports columns to the chatbots table.
Update the application to handle these new fields appropriately.
Verify that the schema matches the expected design, and test to ensure that the errors are resolved.


To be Mentioned while taking the issue:

  • Full name: Akashdeep Singh
  • Email: [email protected]
  • GitHub Link: https://github.com/parteekxo
  • What is your participant role? (Mention the Open Source Program name. Eg. GSOC, GSSOC, SSOC, JWOC, etc.)
    I am a Contributor, GSSOC-EXT and Hacktoberfest.

Checklist

  • I have included a clear and detailed description.
  • I have provided necessary logs, screenshots, or other files.
  • I have described the expected vs actual behavior.
  • I have mentioned related issues or pull requests if any.

@parteekxo parteekxo added the bug Something isn't working label Oct 19, 2024
@kom-senapati
Copy link
Owner

Likes and reports columns exist in that model.

@parteekxo
Copy link
Contributor Author

Likes and reports columns exist in that model.

but it isnt working and the live site is down too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants