From e8d5d50ae511abfa9c8fad4be0e6b1301c1f41e0 Mon Sep 17 00:00:00 2001 From: john Date: Sun, 10 Aug 2025 18:14:27 +0200 Subject: [PATCH] v0.1.29 --- Directory.Build.props | 2 +- scripts/push-db.bash | 19 ------------------- 2 files changed, 1 insertion(+), 20 deletions(-) delete mode 100644 scripts/push-db.bash diff --git a/Directory.Build.props b/Directory.Build.props index 727ce06..0f29b4c 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,6 +1,6 @@ - 0.1.28 + 0.1.29 diff --git a/scripts/push-db.bash b/scripts/push-db.bash deleted file mode 100644 index f48d885..0000000 --- a/scripts/push-db.bash +++ /dev/null @@ -1,19 +0,0 @@ - -# Check if connection string is provided -if [ $# -lt 1 ]; then - echo "Usage: $0 " - echo "Example: $0 'Host=localhost;Database=mydb;Username=user;Password=pass'" - exit 1 -fi - -# Get the connection string from the first argument -CONNECTION_STRING="$1" - -# Get the directory where this script is located -SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" - -# Navigate to the parent directory (assuming migrator is built there) -cd "$SCRIPT_DIR/.." - -# Run the migrator with the 'up' command and provided connection string -dotnet run --project . -- up --connection-string "$CONNECTION_STRING" \ No newline at end of file