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.
You may like to un-install module completely and then install. Without uninstall, in next install tables are not created properly, have observed it few times.
-kamal necs, blr
On Mon, Oct 8, 2012 at 6:35 AM, Jeff Greenberg < listmail.ayendesigns@gmail.com> wrote:
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
-- [ Drupal support list | http://lists.drupal.org/ ]
I have, but certainly the first time I installed it there should have been no issue.
On Oct 7, 2012, at 10:34 PM, Kamal Palei palei.kamal@gmail.com wrote:
You may like to un-install module completely and then install. Without uninstall, in next install tables are not created properly, have observed it few times.
-kamal necs, blr
On Mon, Oct 8, 2012 at 6:35 AM, Jeff Greenberg listmail.ayendesigns@gmail.com wrote:
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
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]