Skip to content
This repository has been archived by the owner on Sep 2, 2023. It is now read-only.

Commit

Permalink
Update SqliteHelper.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Awbugl committed Aug 11, 2022
1 parent c60bdb9 commit 44e3e34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Andreal.Core/Utils/SqliteHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ static SqliteHelper()
SQLiteOpenFlags.ReadWrite | SQLiteOpenFlags.Create | SQLiteOpenFlags.SharedCache
| SQLiteOpenFlags.FullMutex);

DbConnection.Execute("CREATE TABLE IF NOT EXISTS [BotUserInfo]([QQId] INTEGER PRIMARY KEY NOT NULL, [ArcId] INTEGER DEFAULT(-1), [PjskId] INTEGER DEFAULT(0),[IsHide] INTEGER DEFAULT(0), [IsText] INTEGER DEFAULT(0), [ImgVer] INTEGER DEFAULT(0));");
DbConnection.Execute("CREATE TABLE IF NOT EXISTS [BotUserInfo]([QQId] INTEGER PRIMARY KEY NOT NULL, [ArcId] INTEGER DEFAULT(-1), [IsHide] INTEGER DEFAULT(0), [IsText] INTEGER DEFAULT(0), [ImgVer] INTEGER DEFAULT(0));");
}

internal static IEnumerable<T> SelectAll<T>() where T : new() => DbConnection.Table<T>();
Expand Down

0 comments on commit 44e3e34

Please sign in to comment.