How to set default to "not null" when creating fields in phpmyadmin
Posted on 2006-11-09
I'm using phpmyadmin to create the fields for an empty tablet. For most of my fields I want to allow null values. However, phpmyadmin always defaults to not null on the field creation screen. Is there a fairly easy way to change this default?
I am currently using phpMyAdmin 2.6.3-pl1 and MySQL 4.1.13.
Since phpmyadmin is written in PHP, I suspect one could look through the code and fix this. However, since this seem like something others might have wanted to do, I'm thinking maybe there is a configuration setting for phpmyadmin or someone has already figured out how to easily customize phpmyadmin's code to do this.