浏览代码

Added back in bundle.data since it is used for fields. This will be removed after Tripal Terms functionality is completed providing an alternative method.

Lacey Sanderson 10 年之前
父节点
当前提交
7d13d6a848
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      tripal_entities/tripal_entities.install

+ 7 - 0
tripal_entities/tripal_entities.install

@@ -243,6 +243,13 @@ function tripal_entities_tripal_bundle_schema() {
         'size' => 'tiny',
         'description' => 'The weight of this tripal data type in relation to others.',
       ),
+      'data' => array(
+        'type' => 'text',
+        'not null' => FALSE,
+        'size' => 'big',
+        'serialize' => TRUE,
+        'description' => 'A serialized array of additional data related to this tripal data type.',
+      ),
     ) + entity_exportable_schema_fields(),
     'primary key' => array('id'),
     'unique keys' => array(