-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
github-actions-bot
committed
Dec 19, 2024
1 parent
7b58b6a
commit f2aadd4
Showing
3 changed files
with
15 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { sqliteTable, integer, blob, text } from "drizzle-orm/sqlite-core" | ||
|
||
export const apps = sqliteTable('logs', { | ||
id: integer().primaryKey({ autoIncrement: true }), //Unique id for the message | ||
session: integer().notNull(), //Session id, each instance of vs is a new session | ||
level: integer().notNull(), //Message level | ||
type: integer().notNull(), //Message type | ||
what: text(), //Message explanation | ||
root: text(), //Current app root | ||
path: text(), //Current path in the app where the message was triggered | ||
timestamp: integer().notNull(), //When the message was recorded | ||
}); |