Fix(backend): Convert to MariaDB 10.6.20 for new server.
This commit is contained in:
@@ -23,6 +23,13 @@ if (!(Test-Path -Path $outputDir)) {
|
||||
# Create a StringBuilder for efficiency
|
||||
$output = New-Object System.Text.StringBuilder
|
||||
|
||||
$output.AppendLine("-- Combined SQL files")
|
||||
$output.AppendLine()
|
||||
$output.AppendLine("DROP DATABASE IF EXISTS partsltd_prod;")
|
||||
$output.AppendLine("CREATE DATABASE partsltd_prod;")
|
||||
$output.AppendLine("USE partsltd_prod;")
|
||||
$output.AppendLine()
|
||||
|
||||
# Process each file
|
||||
Get-ChildItem -Path $sourceFolder -Filter $filePattern -File |
|
||||
Where-Object { $_.Name -notin $excludeFiles -and $_.Name -ne $outputFileName } |
|
||||
|
||||
Reference in New Issue
Block a user