diff --git a/rules.install b/rules.install
index 9ab261e..3436b81 100644
--- a/rules.install
+++ b/rules.install
@@ -35,7 +35,7 @@ function rules_schema() {
       ),
       'name' => array(
         'type' => 'varchar',
-        'length' => '32',
+        'length' => '64',
         'not null' => TRUE,
         'description' => 'The name of the configuration.',
       ),
@@ -255,3 +255,22 @@ function rules_update_7201() {
 function rules_update_7202() {
   db_add_index('rules_config', 'plugin', array('plugin'));
 }
+
+/**
+ * Fix the length of the rules_config.name column.
+ */
+function rules_update_7203() {
+  db_drop_unique_key('rules_config', 'name');
+  $keys = array(
+    'unique keys' => array(
+      'name' => array('name'),
+    ),
+  );
+  db_change_field('rules_config', 'name', 'name', array(
+    'type' => 'varchar',
+    'length' => '64',
+    'not null' => TRUE,
+    'description' => 'The name of the configuration.',
+  ), $keys);
+}
+
diff --git a/rules_scheduler/rules_scheduler.install b/rules_scheduler/rules_scheduler.install
index bdc562c..a60bb9f 100644
--- a/rules_scheduler/rules_scheduler.install
+++ b/rules_scheduler/rules_scheduler.install
@@ -20,7 +20,7 @@ function rules_scheduler_schema() {
       ),
       'config' => array(
         'type' => 'varchar',
-        'length' => '32',
+        'length' => '64',
         'default' => '',
         'not null' => TRUE,
         'description' => "The scheduled configuration's name.",
@@ -74,7 +74,7 @@ function rules_scheduler_update_7200() {
       ),
       'config' => array(
         'type' => 'varchar',
-        'length' => '32',
+        'length' => '255',
         'default' => '',
         'not null' => TRUE,
         'description' => "The scheduled configuration's name.",
@@ -105,10 +105,25 @@ function rules_scheduler_update_7200() {
 }
 
 /**
- * Add an index for updating and deleting scheduled tasks by identifier.
+ * Fix the length of the rules_scheduler.name column.
  */
-function rules_scheduler_update_7201() {
-  db_add_unique_key('rules_scheduler', 'id', array('config', 'identifier'));
+function rules_scheduler_update_7202() {
+  // Note that update 7201 (add the 'id' unique key') has been removed as it is
+  // incorporated by 7202. For anyone that has already run the previous update
+  // 7201, we have to first drop the unique key.
+  db_drop_unique_key('rules_config', 'id');
+  $keys = array(
+    'unique key' => array(
+      'id' => array('config', 'identifier'),
+    ),
+  );
+  db_change_field('rules_config', 'name', 'name', array(
+    'type' => 'varchar',
+    'length' => '64',
+    'default' => '',
+    'not null' => TRUE,
+    'description' => "The scheduled configuration's name.",
+  ), $keys);
 }
 
 /**
diff --git a/ui/ui.core.inc b/ui/ui.core.inc
index b55dfa0..3d8abe7 100644
--- a/ui/ui.core.inc
+++ b/ui/ui.core.inc
@@ -396,7 +396,7 @@ class RulesPluginUI extends FacesExtender implements RulesPluginUIInterface {
     $form['settings']['name'] = array(
       '#type' => 'machine_name',
       '#default_value' => isset($machine_name) ? $machine_name : '',
-      '#maxlength' => 32,
+      '#maxlength' => 64,
       '#disabled' => entity_has_status('rules_config', $this->element, ENTITY_IN_CODE) && !(isset($form_state['op']) && $form_state['op'] == 'clone'),
       '#machine_name' => array(
         'exists' => 'rules_config_load',
