You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by da...@apache.org on 2017/05/09 18:30:46 UTC
[11/27] incubator-trafficcontrol git commit: removed demo seeds as
the data/profiles supplants it
removed demo seeds as the data/profiles supplants it
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/9acda6e9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/9acda6e9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/9acda6e9
Branch: refs/heads/master
Commit: 9acda6e9941ffda0d92e09ae9cc884fcd2feeb12
Parents: 4c6db49
Author: Dewayne Richardson <de...@apache.org>
Authored: Tue May 9 08:54:19 2017 -0600
Committer: Dan Kirkwood <da...@gmail.com>
Committed: Tue May 9 18:28:59 2017 +0000
----------------------------------------------------------------------
traffic_ops/app/db/admin.pl | 8 --------
1 file changed, 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/9acda6e9/traffic_ops/app/db/admin.pl
----------------------------------------------------------------------
diff --git a/traffic_ops/app/db/admin.pl b/traffic_ops/app/db/admin.pl
index bf6093e..e2dbc4e 100755
--- a/traffic_ops/app/db/admin.pl
+++ b/traffic_ops/app/db/admin.pl
@@ -187,14 +187,6 @@ sub seed {
}
}
-sub seed_demo {
- print "Seeding database w/ demo data.\n";
- local $ENV{PGPASSWORD} = $db_password;
- if ( system("psql -h $host_ip -p $host_port -d $db_name -U $db_user -e < db/seeds_demo.sql") != 0 ) {
- die "Can't seed database w/ demo data\n";
- }
-}
-
sub load_schema {
print "Creating database tables.\n";
local $ENV{PGPASSWORD} = $db_password;