head	1.1;
access;
symbols
	TIGRIS_1_1_0RC2:1.1.2.1
	TIGRIS_1_1:1.1.0.2;
locks; strict;
comment	@# @;


1.1
date	2001.08.07.20.33.54;	author edk;	state dead;
branches
	1.1.2.1;
next	;

1.1.2.1
date	2001.08.07.20.33.54;	author edk;	state Exp;
branches;
next	;


desc
@@


1.1
log
@file migrate was initially added on branch TIGRIS_1_1.
@
text
@@


1.1.2.1
log
@add files used to fix up project documents wrt private / is_public:
* all current project documents should be made public (since private
  project documents weren't supported in 1.0.x), and this should be the
  default going forward
* some roles may have been given the Private Project Document - View
  permission as a workaround; if so, remove it so that they can be
  supported in the future.
@
text
@a0 25
#/bin/sh

DIR=$SANDBOX/helm/scripts/migration/1.1.0

echo Started migration to 1.1.0

echo Running LoadOrder SQL scripts.
for i in `cat LoadOrder.lst`
do
 echo "Running $i against $DATABASE_HOST"
 mysql -u$DATABASE_USER -p$DATABASE_PASSWORD \
    --host=$DATABASE_HOST --port=$DATABASE_PORT \
    $DATABASE_NAME < $DIR/$i
done 
echo Completed LoadOrder SQL scripts.

echo Running ScriptOrder scripts
for i in `cat ScriptOrder.lst | grep -v '^#' `
do
  echo "Running script $i"
  ./$i
done
echo Completed ScriptOrder scripts.

echo Completed migration to 1.1.0
@

