Ver Fonte

Added CViTjs fields to the blastdb table

E.Cannon há 7 anos atrás
pai
commit
7ecad513ea
1 ficheiros alterados com 25 adições e 0 exclusões
  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
+    )
+  );
 }