Add project files.

This commit is contained in:
2025-08-18 17:11:43 +03:30
parent 807dc263be
commit e5eb10d604
3943 changed files with 223719 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
#!/usr/bin/env bash
# Define the modules to update
mods=("Alterations" "Runtime" "Management" "Identity")
# Define the list of providers
providers=("MySql" "SqlServer" "Sqlite" "PostgreSql" "Oracle")
# Loop through each module
for module in "${mods[@]}"; do
# Loop through each provider
for provider in "${providers[@]}"; do
providerPath="../src/modules/Elsa.EntityFrameworkCore.$provider"
sqlPath="$providerPath/Migrations/$module/v3.1.sql"
echo "Generating SQL for $provider..."
echo "SQL path: $sqlPath"
dotnet ef migrations script -p "$providerPath" -c "$module"ElsaDbContext -o "$sqlPath"
# Make the file writable:
chmod 777 "$sqlPath"
done
done