Gaia3D / mago3d-CMS

mago3D Project
http://www.mago3d.com/homepage/demo.do
Apache License 2.0
61 stars 30 forks source link

solve foreign key violation #163

Closed sagar1899 closed 3 years ago

sagar1899 commented 3 years ago

please merge pull request because foreign key violation error raise on this script, i check this on today 1hrs ago

cheonjeongdae commented 3 years ago

Sorry. The order has changed.

A role must be created first, and user_group_role must be inserted. This problem occurred because the foregin key constraint was managed separately.

I'm tired of developing The bad habit of generating a foregin key only when it is reflected in operation seems to be the problem.

Thanks for the pull request.