Initial v6 version #32

Manually merged
toastie_t0ast merged 54 commits from v6-dev into v6 2025-02-28 23:18:39 +00:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit df17221c67 - Show all commits

View file

@ -39,12 +39,12 @@ if ($LASTEXITCODE -ne 0) {
# Step 3: Cleanup migration files
Write-Output "Cleaning up all migration files..."
Get-ChildItem "Migrations/Sqlite" -File | Where-Object { $_.Name -like '*_*.cs' } | ForEach-Object {
Get-ChildItem "Migrations/Sqlite" -File | Where-Object { $_.Name -like '*.cs' } | ForEach-Object {
Write-Output "Deleting: $($_.Name)"
Remove-Item $_.FullName -ErrorAction SilentlyContinue
}
Get-ChildItem "Migrations/Postgresql" -File | Where-Object { $_.Name -like '*_*.cs' } | ForEach-Object {
Get-ChildItem "Migrations/Postgresql" -File | Where-Object { $_.Name -like '*.cs' } | ForEach-Object {
Write-Output "Deleting: $($_.Name)"
Remove-Item $_.FullName -ErrorAction SilentlyContinue
}

View file

@ -55,7 +55,7 @@ for file in "Migrations/Sqlite"/*; do
fi
case "$file" in
*_*.cs)
*.cs)
echo "Deleting: $(basename "$file")"
rm -- "$file"
;;
@ -70,7 +70,7 @@ for file in "Migrations/Postgresql"/*; do
fi
case "$file" in
*_*.cs)
*.cs)
echo "Deleting: $(basename "$file")"
rm -- "$file"
;;