db_add_field not working
I don't think length is valid for integers. size is though:

$schema['node']['fields']['show_in_inbox'] = array(
  'type' =&gt; 'int',
  'size' =&gt; 'tiny',
  'default' =&gt; '1',
  'not null' =&gt; TRUE,
  'unsigned' =&gt; TRUE,  
  'description' =&gt; 'Field added by Smart_delete module',
);


Data Types