You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by el...@apache.org on 2017/03/14 18:54:43 UTC

[3/7] incubator-trafficcontrol git commit: add client_steering type to database

add client_steering type to database


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

Branch: refs/heads/master
Commit: 7482f8af0a285676fcbedc0374283e844ef775c4
Parents: 118d39e
Author: Derek Gelinas <mr...@gmail.com>
Authored: Fri Feb 24 18:45:11 2017 +0000
Committer: Jeff Elsloo <je...@cable.comcast.com>
Committed: Tue Mar 14 12:54:07 2017 -0600

----------------------------------------------------------------------
 .../db/migrations/20170224163900_add_client_steering.sql    | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/7482f8af/traffic_ops/app/db/migrations/20170224163900_add_client_steering.sql
----------------------------------------------------------------------
diff --git a/traffic_ops/app/db/migrations/20170224163900_add_client_steering.sql b/traffic_ops/app/db/migrations/20170224163900_add_client_steering.sql
new file mode 100644
index 0000000..f628ba0
--- /dev/null
+++ b/traffic_ops/app/db/migrations/20170224163900_add_client_steering.sql
@@ -0,0 +1,9 @@
+
+-- +goose Up
+-- SQL in section 'Up' is executed when this migration is applied
+insert into type (name, description, use_in_table) values ('CLIENT_STEERING', 'Client-Controlled Steering Delivery Service', 'deliveryservice');
+
+
+-- +goose Down
+-- SQL section 'Down' is executed when this migration is rolled back
+delete from type where name = 'CLIENT_STEERING';