소스 검색

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.
   // First create the tables.
   db_create_table('blastjob', $schema['blastjob']);
   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
+    )
+  );
 }
 }