#! /bin/csh

setenv database gmm-prod

echo "Insert SQL files..."
psql -Ugazelle $database < 01_tm_object_file_type_data.sql
psql -Ugazelle $database < 01_tm_object_instance_validation_data.sql
psql -Ugazelle $database < 01_tm_object_parameter_validator_data.sql
psql -Ugazelle $database < 01_tm_object_type_status_data.sql
psql -Ugazelle $database < 10_tm_object_class_validator_data.sql
psql -Ugazelle $database < 10_tm_object_type_data.sql
psql -Ugazelle $database < 20_tm_object_attribute_data.sql
psql -Ugazelle $database < 20_tm_object_file_data.sql
psql -Ugazelle $database < 20_tm_object_method_validator_data.sql
psql -Ugazelle $database < 30_tm_object_attribute_option_data.sql
psql -Ugazelle $database < 30_tm_object_file_method_data.sql
psql -Ugazelle $database < 30_tm_object_method_parameter_data.sql
psql -Ugazelle $database < 40_tm_object_creator_data.sql
psql -Ugazelle $database < 40_tm_object_reader_data.sql
echo "Insert SQL files... done"


echo "Insert SQL files for audit..."
psql -Ugazelle $database < gmm_samples_migration_data.sql
echo "Insert SQL files for audit... done"
