Skip to content
This repository was archived by the owner on Oct 29, 2020. It is now read-only.

Commit 93b27e1

Browse files
committed
Updating index/primary key.
1 parent 0437479 commit 93b27e1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/modules/dosomething/dosomething_reportback/dosomething_reportback.install

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,10 @@ function dosomething_reportback_schema() {
255255
'default' => 0,
256256
),
257257
),
258-
'primary key' => array('id', 'nid'),
258+
'primary key' => array('id'),
259+
'indexes' => array(
260+
'nid' => array('nid'),
261+
),
259262
);
260263
// Add a custom cache table.
261264
$schema['cache_dosomething_reportback'] = drupal_get_schema_unprocessed('system', 'cache');

0 commit comments

Comments
 (0)