diff --git a/website/index.html b/website/index.html index 2ac94f77..ba3c23be 100644 --- a/website/index.html +++ b/website/index.html @@ -207,5 +207,5 @@

User profiles diff --git a/website/meson.build b/website/meson.build index a24223ba..10e24083 100644 --- a/website/meson.build +++ b/website/meson.build @@ -75,8 +75,8 @@ if get_option('use_system_pugixml') endif endif if need_pugixml or get_option('use_system_pugixml') == false - #Used by pugi to enable compact mode. I might want to disable execptions too. - add_global_arguments(['-DPUGIXML_COMPACT'], language: ['cpp', 'c']) + #Used by pugi to enable compact mode. + #I might want to disable execptions too. pugixml_proj = subproject('pugixml', default_options: ['compact=true']) pugixml_dep = pugixml_proj.get_variable('pugixml_dep') endif @@ -268,8 +268,6 @@ vs_fltk_deps += [ treesitter_dep, ] -#vs_fltk_flags += '-DPUGIXML_COMPACT' - subdir('./src/components') vs_fltk = shared_library( diff --git a/website/schemas/db/logs.ts b/website/schemas/db/logs.ts new file mode 100644 index 00000000..f7d39c74 --- /dev/null +++ b/website/schemas/db/logs.ts @@ -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 +}); \ No newline at end of file