From 0d996173295198d12aaee21ca989e202de2d0549 Mon Sep 17 00:00:00 2001
From: Monika Komorowska <mk8@sanger.ac.uk>
Date: Tue, 28 Feb 2012 11:59:51 +0000
Subject: [PATCH] drop stable ID views

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

diff --git a/sql/patch_66_67_b.sql b/sql/patch_66_67_b.sql
new file mode 100644
index 0000000000..2ae31de0e2
--- /dev/null
+++ b/sql/patch_66_67_b.sql
@@ -0,0 +1,18 @@
+# patch_66_67_b.sql
+#
+# Title: Drop stable ID views.
+#
+# Description:
+# The stable ID views, introduced for release 65 as a way of providing a
+# degree of backward compatibility, are dropped with this release.
+
+DROP VIEW exon_stable_id;
+DROP VIEW gene_stable_id;
+DROP VIEW operon_stable_id;
+DROP VIEW operon_transcript_stable_id;
+DROP VIEW translation_stable_id;
+DROP VIEW transcript_stable_id;
+
+# Patch identifier:
+INSERT INTO meta (species_id, meta_key, meta_value)
+  VALUES (NULL, 'patch', 'patch_66_67_b.sql|drop_stable_id_views');
-- 
GitLab