From 459ebf9cca578dc1d88f13da3a4fd0499cb7f2f8 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Sun, 18 Mar 2018 15:11:20 -0400 Subject: remove file that we do not need --- scripts/migrate-database.pl | 47 --------------------------------------------- 1 file changed, 47 deletions(-) delete mode 100755 scripts/migrate-database.pl diff --git a/scripts/migrate-database.pl b/scripts/migrate-database.pl deleted file mode 100755 index cde7c80c0..000000000 --- a/scripts/migrate-database.pl +++ /dev/null @@ -1,47 +0,0 @@ -#!/usr/bin/perl -use 5.10.1; -use strict; -use warnings; - -use File::Basename; -use File::Spec; -BEGIN { - require lib; - my $dir = File::Spec->rel2abs(dirname(__FILE__)); - my $base = File::Spec->catdir($dir, ".."); - lib->import($base, File::Spec->catdir($base, "lib"), File::Spec->catdir($base, qw(local lib perl5))); - chdir $base; -} - -use Bugzilla; -BEGIN { Bugzilla->extensions } - -use Bugzilla::DB; -use Bugzilla::Install::DB; -use Bugzilla::Config qw(update_params); - -Bugzilla::DB::bz_create_database(); - -# Clear all keys from Memcached to ensure we see the correct schema. -Bugzilla->memcached->clear_all(); - -# now get a handle to the database: -my $dbh = Bugzilla->dbh; -# Create the tables, and do any database-specific schema changes. -$dbh->bz_setup_database(); -# Populate the tables that hold the values for the