I am creating a couple of columns in a custom table and I want this particular one to be an ENUM (boolean?) with the options exclusivley 'Yes' or 'No'. What should I change to do this?
'ShowEmail' => {
pos => 12,
type => 'ENUM',
not_null => 1,
default => 'Yes',
size => 3
},
Also, I understand you can display 'Yes' or 'No' but record 1 or 0 in the database for performance gain. Is this really worth it? and if it is, how do I change this code to do it?
Thanks.
http://www.iuni.com/...tware/web/index.html
Links Plugins
'ShowEmail' => {
pos => 12,
type => 'ENUM',
not_null => 1,
default => 'Yes',
size => 3
},
Also, I understand you can display 'Yes' or 'No' but record 1 or 0 in the database for performance gain. Is this really worth it? and if it is, how do I change this code to do it?
Thanks.
http://www.iuni.com/...tware/web/index.html
Links Plugins