head	1.1;
access;
symbols
	TIGRIS_1_1_0RC2:1.1.2.1.2.2
	TIGRIS_1_1_0RC1:1.1.2.1
	TIGRIS_1_1:1.1.2.1.0.2
	TIGRIS_1_0:1.1.0.2;
locks; strict;
comment	@# @;


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

1.1.2.1
date	2001.07.23.01.05.06;	author edk;	state Exp;
branches
	1.1.2.1.2.1;
next	1.1.2.2;

1.1.2.2
date	2001.08.07.01.12.21;	author edk;	state Exp;
branches;
next	;

1.1.2.1.2.1
date	2001.08.07.19.26.21;	author edk;	state Exp;
branches;
next	1.1.2.1.2.2;

1.1.2.1.2.2
date	2001.08.07.20.31.54;	author edk;	state Exp;
branches;
next	;


desc
@@


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


1.1.2.1
log
@the migrate refactoring hasn't been ported to the branch yet, so without        this file, migration to 1.0.8 doesn't work.
@
text
@a0 17
#/bin/sh

DIR=/usr/local/tigris/helm/scripts/migration/1.0.7

echo Started migration to 1.0.7

echo Running LoadOrder SQL scripts.
for i in `cat LoadOrder.lst`
do
 echo "Running $i against $DATABASE_HOST"
 mysql -utigris -peuphrates \
    --host=localhost --port=3306 \
    tigris < $DIR/$i
done 
echo Completed LoadOrder SQL scripts.

echo Completed migration to 1.0.7
@


1.1.2.1.2.1
log
@use env vars correctly
@
text
@d3 1
a3 1
DIR=$SANDBOX/helm/scripts/migration/1.0.7
d11 2
a12 2
 mysql -u$DATABASE_USER -p$DATABASE_PASSWORD \
    --host=$DATABASE_HOST --port=$DATABASE_PORT \
@


1.1.2.1.2.2
log
@use correct env vars
@
text
@d13 1
a13 1
    $DATABASE_NAME < $DIR/$i
@


1.1.2.2
log
@use env vars correctly
@
text
@d3 1
a3 1
DIR=$SANDBOX/helm/scripts/migration/1.0.7
d11 2
a12 2
 mysql -u$DATABASE_USER -p$DATABASE_PASSWORD \
    --host=$DATABASE_HOST --port=$DATABASE_PORT \
@


