mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-07 14:27:54 +00:00
Various small fixes, setting guild config now works
This commit is contained in:
parent
2038f023a0
commit
c875c8af9f
9 changed files with 56 additions and 70 deletions
|
|
@ -25,13 +25,6 @@ namespace PluralKit.Core
|
|||
_logger = logger.ForContext<Schemas>();
|
||||
}
|
||||
|
||||
public static void Initialize()
|
||||
{
|
||||
// Without these it'll still *work* but break at the first launch + probably cause other small issues
|
||||
NpgsqlConnection.GlobalTypeMapper.MapComposite<ProxyTag>("proxy_tag");
|
||||
NpgsqlConnection.GlobalTypeMapper.MapEnum<PrivacyLevel>("privacy_level");
|
||||
}
|
||||
|
||||
public async Task InitializeDatabase()
|
||||
{
|
||||
// Run everything in a transaction
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue