#!/bin/ksh
#
#  Null migration.  Used when adding attributes to tables that have 
#    database provided default values
#

# migrate
#  $1 - absolute path to build.xml in test suite
#  $2 - phase
#     'before' - before loading
#     'migrate' - migrate data
#     'after' - after dump
#  returns - 0 success; 1 failure

#
# migration is to propagate domain type into endpoint type
# We need to have the constraint disabled because we can't
#  guarantee uniqueness and we don't want the insert to fail.  
#  At the end, we renable it as a test to test the data for after 
#  it's been inserted.

# We also need to return 1 if the migration has failed so the log
#  gets scanned.

case $2 in
	'before'| 'after' | 'migrate' )
		exit 0
		;;
esac
