From 27ee1cf56f9940c520015fb36d50e7c23090de58 Mon Sep 17 00:00:00 2001
From: Glenn Proctor <gp1@sanger.ac.uk>
Date: Tue, 29 Jul 2008 10:20:46 +0000
Subject: [PATCH] Allow score column in protein_feature to be null. Needed for
 user upload and to be consistent with protein_align_feature and
 dna_align_feature.

---
 sql/patch_50_51_g.sql | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 sql/patch_50_51_g.sql

diff --git a/sql/patch_50_51_g.sql b/sql/patch_50_51_g.sql
new file mode 100644
index 0000000000..a15986ba94
--- /dev/null
+++ b/sql/patch_50_51_g.sql
@@ -0,0 +1,13 @@
+# patch_50_51_g.sql
+#
+# title: Protein feature score.
+#
+# description:
+# Allow the score column in protein_feature to be null.
+
+ALTER TABLE `protein_feature` MODIFY COLUMN `score` DOUBLE;
+
+# patch identifier
+INSERT INTO meta (species_id, meta_key, meta_value) VALUES (NULL, 'patch', 'patch_50_51_g.sql|protein_feature_score');
+
+
-- 
GitLab