Merge branch 'main' of https://github.com/daffyyyy/CS2-SimpleAdmin
This commit is contained in:
commit
b4c259595e
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ public partial class CS2_SimpleAdmin : BasePlugin, IPluginConfig<CS2_SimpleAdmin
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
string sqlFilePath = ModuleDirectory + "Database/database_setup.sql";
|
string sqlFilePath = ModuleDirectory + "/Database/database_setup.sql";
|
||||||
string sql = await File.ReadAllTextAsync(sqlFilePath);
|
string sql = await File.ReadAllTextAsync(sqlFilePath);
|
||||||
|
|
||||||
await connection.QueryAsync(sql, transaction: transaction);
|
await connection.QueryAsync(sql, transaction: transaction);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue