Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #625 from rhelmer/stage

bugfix for SQL scripts
  • Loading branch information...
commit 50b1042f345d36424fbd21ba639f603e8e4db0b3 2 parents 46fd9d2 + f28d786
@rhelmer rhelmer authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  sql/upgrade/11.0/add_release.sql
View
2  sql/upgrade/11.0/add_release.sql
@@ -32,7 +32,7 @@ PERFORM validate_lookup('products','product_name',product,'product');
PERFORM validate_lookup('release_channels','release_channel',release_channel,'release channel');
--validate build
IF NOT ( build_date(build_id) BETWEEN '2005-01-01'
- AND (current_date + '1 month') ) THEN
+ AND (current_date + INTERVAL '1 month') ) THEN
RAISE EXCEPTION 'invalid buildid';
END IF;
Please sign in to comment.
Something went wrong with that request. Please try again.