You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by mi...@apache.org on 2017/05/24 02:40:14 UTC

[09/14] incubator-trafficcontrol git commit: Schema changes which are part of the previous commit.

Schema changes which are part of the previous commit.


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

Branch: refs/heads/master
Commit: 7fb81cc7839380152f5ee79842d5e0d9c9423843
Parents: b7eb8db
Author: naamashoresh <na...@qwilt.com>
Authored: Sun May 21 11:29:05 2017 +0300
Committer: Jeremy Mitchell <mi...@gmail.com>
Committed: Tue May 23 20:39:03 2017 -0600

----------------------------------------------------------------------
 .../app/lib/Schema/Result/ApiCapability.pm      | 25 ++++++++++++++++++--
 1 file changed, 23 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/7fb81cc7/traffic_ops/app/lib/Schema/Result/ApiCapability.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/Schema/Result/ApiCapability.pm b/traffic_ops/app/lib/Schema/Result/ApiCapability.pm
index 2c7e89c..f5ec12b 100644
--- a/traffic_ops/app/lib/Schema/Result/ApiCapability.pm
+++ b/traffic_ops/app/lib/Schema/Result/ApiCapability.pm
@@ -98,6 +98,27 @@ __PACKAGE__->add_columns(
 
 __PACKAGE__->set_primary_key("id");
 
+=head1 UNIQUE CONSTRAINTS
+
+=head2 C<api_capability_http_method_route_capability_key>
+
+=over 4
+
+=item * L</http_method>
+
+=item * L</route>
+
+=item * L</capability>
+
+=back
+
+=cut
+
+__PACKAGE__->add_unique_constraint(
+  "api_capability_http_method_route_capability_key",
+  ["http_method", "route", "capability"],
+);
+
 =head1 RELATIONS
 
 =head2 capability
@@ -116,8 +137,8 @@ __PACKAGE__->belongs_to(
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07046 @ 2017-04-01 22:22:35
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:vYfANFCOS9i3LpGHRzMv3w
+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2017-05-21 10:15:00
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:b1CNpOv08i47l8nNcqxLoA
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration