瀏覽代碼

Added CViTjs fields to the blastdb table

E.Cannon 7 年之前
父節點
當前提交
7ecad513ea
共有 1 個文件被更改,包括 25 次插入0 次删除
  1. 25 0
      blast_ui.install

+ 25 - 0
blast_ui.install

@@ -247,4 +247,29 @@ function blast_ui_update_7103() {
   // First create the tables.
   db_create_table('blastjob', $schema['blastjob']);
   
+}
+
+
+/**
+ * Add fields to blastp table for CViTjs support.
+ */
+function blast_ui_update_7104() {
+  db_add_field(
+    'blastdb',
+    'cvitjs_enabled',
+    array(
+      'description' => t('Indicate if CViTjs should be used to display hits on a whole genome'),
+      'type' => 'int',
+      'default' => 0
+    )
+  );
+  db_add_field(
+    'blastdb',
+    'cvitjs_config',
+    array(
+      'description' => t('CViTjs configuration file'),
+      'type' => 'text',
+      'default' => 0
+    )
+  );
 }