Skip to content

Commit

Permalink
Merge pull request #24 from ko4life-net/enforce-collation
Browse files Browse the repository at this point in the history
Enforce SQL_Latin1_General_CP1_CS_AS collation on db creation.
  • Loading branch information
stevewgr committed May 22, 2024
2 parents cec59bc + 9b8d52e commit fd0058e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion import.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ function RecreateDb {
}

MessageInfo "Creating database $db_name..."
InvokeSqlQuery -query "USE master; CREATE DATABASE [$db_name];"
InvokeSqlQuery -query "USE master; CREATE DATABASE [$db_name] COLLATE SQL_Latin1_General_CP1_CS_AS;"
}

function RunInitialDbScripts {
Expand Down

0 comments on commit fd0058e

Please sign in to comment.