[support] D7 What is the result of hook_field_schema?
Jeff Greenberg
listmail.ayendesigns at gmail.com
Mon Oct 8 01:05:13 UTC 2012
When I install a module with the following .install file:
function my_widget_field_schema($field) {
$columns = array(
'duration' => array('type' => 'varchar', 'length' => 8, 'not null' =>
FALSE),
);
return array(
'columns' => $columns,
);
}
What should the impact be on the database tables? I receive no errors, and
watchdog says that the module is installed, and that it is enabled, but I
see no tables added to the db that reflect the field name, widget name, etc.
--
---
drupal.org/user/367108
linkedin.com/in/jeffrgreenberg
accidentalcoder.com / ayendesigns.com
@accidentalcoder
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20121007/7e6a9547/attachment.html
More information about the support
mailing list