Dave Jarvis' Repositories

git clone https://repo.autonoma.ca/repo/recipe-fiddle.git
#!/bin/bash

CMD_COMPARE="$HOME/bin/dbsolo4/commandLine"

echo "Comparing Recipe DDL..."
$CMD_COMPARE -compare $(pwd)/recipe-ddl.xml 

echo "Comparing Recipe DML..."
$CMD_COMPARE -dataCompare $(pwd)/recipe-dml.xml 

echo "Comparing Recipe Book DDL..."
#$CMD_COMPARE -compare $(pwd)/recipe_book-ddl.xml 

echo "Comparing Recipe Book DML..."
#$CMD_COMPARE -dataCompare $(pwd)/recipe_book-dml.xml 

echo "Adding scripts to repository..."
git add scripts/*

TODAY=$(date +"%Y-%m-%d %H:%M:%S")

echo "Committing scripts to repository..."
git commit -a -m "Schema and data comparison for ${TODAY}"

echo "Pushing scripts to repository..."
git push origin master