],
],
'primary key' => [
- 'tid',
- 'uid',
],
];
],
],
'primary key' => [
- 'tid',
- 'rid',
],
];
]);
}
}
-}
\ No newline at end of file
+}
+
+/**
+ * Remove primary keys due language codes.
+ */
+function permissions_by_term_update_8153() {
+ $database = \Drupal::database();
+ $schema = $database->schema();
+
+ $schema->dropPrimaryKey('permissions_by_term_role');
+ $schema->dropPrimaryKey('permissions_by_term_user');
+}