Home > Article > Development Tools > How phpstorm operates the database to establish foreign keys
I always feel that it is inconvenient to write sql by hand without prompts. I finally found a method to operate the database in PHPstorm. The record is as follows
Create two tables
##If you want to set SET NULL, then it must be allowed to be null, and not null cannot be checkedFor more phpstorm technical articles, please visitThe above is the detailed content of How phpstorm operates the database to establish foreign keys. For more information, please follow other related articles on the PHP Chinese website!