You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by de...@apache.org on 2017/03/29 23:11:42 UTC

[3/5] incubator-trafficcontrol git commit: don't add use_reval_pending value by default.

don't add use_reval_pending value by default.


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/c28b77c3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/c28b77c3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/c28b77c3

Branch: refs/heads/master
Commit: c28b77c35583ff64bc05af39d0964db2b97b2be4
Parents: 4cb2380
Author: Derek Gelinas <mr...@gmail.com>
Authored: Tue Mar 28 19:13:33 2017 +0000
Committer: Dewayne Richardson <de...@apache.org>
Committed: Wed Mar 29 17:11:31 2017 -0600

----------------------------------------------------------------------
 .../app/db/migrations/20170226190747_add_reval_pending.sql       | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/c28b77c3/traffic_ops/app/db/migrations/20170226190747_add_reval_pending.sql
----------------------------------------------------------------------
diff --git a/traffic_ops/app/db/migrations/20170226190747_add_reval_pending.sql b/traffic_ops/app/db/migrations/20170226190747_add_reval_pending.sql
index 74864d5..f177253 100644
--- a/traffic_ops/app/db/migrations/20170226190747_add_reval_pending.sql
+++ b/traffic_ops/app/db/migrations/20170226190747_add_reval_pending.sql
@@ -16,11 +16,9 @@
 -- +goose Up
 -- SQL in section 'Up' is executed when this migration is applied
 ALTER TABLE server ADD COLUMN reval_pending boolean NOT NULL DEFAULT false;
-INSERT INTO parameter (name, config_file, value, secure) VALUES ('use_reval_pending', 'global', '0', False);
-insert into profile_parameter (profile, parameter) values ((select id from profile where name = 'GLOBAL'), (select id from parameter where name = 'use_reval_pending'));
 
 -- +goose Down
 -- SQL section 'Down' is executed when this migration is rolled back
 ALTER TABLE server DROP COLUMN reval_pending;
 delete from profile_parameter where parameter = (select id from parameter where name = 'use_reval_pending');	
-delete from parameter where name = 'use_reval_pending';
\ No newline at end of file
+delete from parameter where name = 'use_reval_pending';