Bhanu-code / db-drawer

database schema visualization cli tool on localhost for node.js environment
https://www.npmjs.com/package/db-drawer
MIT License
9 stars 19 forks source link

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

Open Bhanu-code opened 5 months ago

Bhanu-code commented 5 months ago

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

Mohini17o3 commented 4 months ago

@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 commented 3 months ago

@Mohini17o3 any upadates?

Mohini17o3 commented 3 months ago

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 commented 3 months ago

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

Mohini17o3 commented 3 months ago

@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)