|
@@ -132,3 +132,15 @@ function tripal_jbrowse_mgmt_update_7001(&$sandbox) {
|
|
|
$table = $schema[$name];
|
|
|
db_create_table($name, $table);
|
|
|
}
|
|
|
+
|
|
|
+/**
|
|
|
+ * adding a new column analysis_id to table tripal_jbrowse_mgmt_instances
|
|
|
+ */
|
|
|
+function tripal_jbrowse_mgmt_update_7002(&$sandbox){
|
|
|
+ $new_col_spec = [
|
|
|
+ 'type' => 'int',
|
|
|
+ 'not null' => FALSE,
|
|
|
+ ];
|
|
|
+ $schema = Database::getConnection()->schema();
|
|
|
+ $schema->addField('tripal_jbrowse_mgmt_instances', 'analysis_id', $new_col_spec);
|
|
|
+}
|