mirror of
https://github.com/2dust/v2rayN.git
synced 2026-11-14 08:24:59 +03:00
16 lines
414 B
C#
16 lines
414 B
C#
namespace ServiceLib.Tests;
|
|
|
|
internal static class TestDatabase
|
|
{
|
|
private static readonly Lazy<SQLiteHelper> Database = new(() =>
|
|
{
|
|
var database = SQLiteHelper.Instance;
|
|
database.CreateTable<SubItem>();
|
|
database.CreateTable<ProfileItem>();
|
|
database.CreateTable<ProfileExItem>();
|
|
return database;
|
|
});
|
|
|
|
public static void Initialize() => _ = Database.Value;
|
|
}
|