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

[Feature]: <Add more validations for sequelize constraints> #9

Open
Bhanu-code opened this issue May 5, 2024 · 5 comments
Open

[Feature]: <Add more validations for sequelize constraints> #9

Bhanu-code opened this issue May 5, 2024 · 5 comments
Assignees
Labels
enhancement New feature or request gssoc under GirlScript Summer of Code level3 difficult to achieve, requires complete understanding of the project

Comments

@Bhanu-code
Copy link
Owner

Description

Currently the project has validations for primary key, unique, allowNull etc constrainsts. add more validations for like cascading etc for sequelize.

Suggested Solution

Checkout the methods that a sequelize instance provide. uncomment the log statements in sqlz.js and try understanding the logs

Alternatives

No response

Additional Context

No response

@Bhanu-code Bhanu-code added the enhancement New feature or request label May 5, 2024
@Bhanu-code Bhanu-code changed the title [Feature]: <Add more validations for sequlize constraints> [Feature]: <Add more validations for sequelize constraints> May 5, 2024
@Bhanu-code Bhanu-code added level3 difficult to achieve, requires complete understanding of the project gssoc under GirlScript Summer of Code labels May 12, 2024
@Mohini17o3
Copy link

@Bhanu-code Hi , I'm Mohini , a Gssoc'24 contributor , I would like to work on this issue , please assign this to me .

@Bhanu-code
Copy link
Owner Author

@Mohini17o3 any upadates?

@Mohini17o3
Copy link

Mohini17o3 commented Jul 7, 2024

Hi @Bhanu-code ,I tried running the visualiser for sequelize model separately but it throws an error , still for now I tried adding validations for- on delete , on update and custom validations , please check if I'm heading in the right direction ,
Screenshot (553)
Screenshot (555)

@Bhanu-code
Copy link
Owner Author

@Mohini17o3 have you watched the demonstration video of the project?

@Mohini17o3
Copy link

Mohini17o3 commented Jul 7, 2024

@Mohini17o3 have you watched the demonstration video of the project?

@Bhanu-code yes , I had , I get this error on running it for sequelize project :
Screenshot (556)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request gssoc under GirlScript Summer of Code level3 difficult to achieve, requires complete understanding of the project
Projects
None yet
Development

No branches or pull requests

2 participants