diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2012-01-31 02:50:11 -0800 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2012-01-31 02:50:11 -0800 |
commit | c12fac5669408d874c4df874d802fdf0382eca0d (patch) | |
tree | f3daf6d6aae18bb4c63dcc4980ce628aadf2157d /modules/trigger/trigger.install | |
parent | ae277600fb8a18f439b370de87fd9c8064f503a8 (diff) | |
download | brdo-c12fac5669408d874c4df874d802fdf0382eca0d.tar.gz brdo-c12fac5669408d874c4df874d802fdf0382eca0d.tar.bz2 |
Rollback of Issue #1280792 by andypost: Key length too long error.
Diffstat (limited to 'modules/trigger/trigger.install')
-rw-r--r-- | modules/trigger/trigger.install | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/modules/trigger/trigger.install b/modules/trigger/trigger.install index ac3ef3c47..9a172a2a0 100644 --- a/modules/trigger/trigger.install +++ b/modules/trigger/trigger.install @@ -14,7 +14,7 @@ function trigger_schema() { 'fields' => array( 'hook' => array( 'type' => 'varchar', - 'length' => 128, + 'length' => 32, 'not null' => TRUE, 'default' => '', 'description' => 'Primary Key: The name of the internal Drupal hook; for example, node_insert.', @@ -68,11 +68,3 @@ function trigger_update_7000() { } db_drop_field('trigger_assignments', 'op'); } - -/** - * Implements hook_update_N(). - */ -function trigger_update_7001() { - db_drop_primary_key('trigger_assignments'); - db_change_field('trigger_assignments', 'hook', 'hook', array('type' => 'varchar', 'length' => 128, 'not null' => TRUE, 'default' => '', 'description' => 'Primary Key: The name of the internal Drupal hook; for example, node_insert.', ), array('primary key' => array('hook', 'aid'))); -} |