aboutsummaryrefslogtreecommitdiffstats
path: root/sql/postgres/patch-module_deps-pk.sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql/postgres/patch-module_deps-pk.sql')
-rw-r--r--sql/postgres/patch-module_deps-pk.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/postgres/patch-module_deps-pk.sql b/sql/postgres/patch-module_deps-pk.sql
new file mode 100644
index 000000000000..f269f6f03a58
--- /dev/null
+++ b/sql/postgres/patch-module_deps-pk.sql
@@ -0,0 +1,3 @@
+DROP INDEX IF EXISTS md_module_skin;
+ALTER TABLE module_deps
+ ADD PRIMARY KEY (md_module, md_skin);