Permalink
Browse files

Fix proxy_filter_info table: logic only supports one filter per array

  • Loading branch information...
1 parent d8539b7 commit 73302a614050a10e8e8cddc2580245642d25168a @jherrero jherrero committed May 11, 2016
Showing with 2 additions and 2 deletions.
  1. +2 −2 database/init_db.pl
View
@@ -66,10 +66,10 @@
description,
UNIQUE(array_id))");
$dbh->do("CREATE TABLE IF NOT EXISTS proxy_filter (
- proxy_filter_id INTEGER NOT NULL REFERENCES proxy_filter_info(proxy_filter_id),
+ array_id INTEGER NOT NULL REFERENCES array(array_id),
probe_id,
proxy_probes,
- UNIQUE (proxy_filter_id, probe_id))");
+ UNIQUE (array_id, probe_id))");
$dbh->do("CREATE TABLE IF NOT EXISTS probe_annotation_info (

0 comments on commit 73302a6

Please sign in to comment.