mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
feat: add timezone support for schedule and user runtime (#282)
This commit is contained in:
@@ -17,6 +17,7 @@ CREATE TABLE IF NOT EXISTS users (
|
||||
role user_role NOT NULL DEFAULT 'member',
|
||||
display_name TEXT,
|
||||
avatar_url TEXT,
|
||||
timezone TEXT NOT NULL DEFAULT 'UTC',
|
||||
data_root TEXT,
|
||||
last_login_at TIMESTAMPTZ,
|
||||
is_active BOOLEAN NOT NULL DEFAULT true,
|
||||
@@ -156,6 +157,7 @@ CREATE TABLE IF NOT EXISTS bots (
|
||||
type TEXT NOT NULL,
|
||||
display_name TEXT,
|
||||
avatar_url TEXT,
|
||||
timezone TEXT,
|
||||
is_active BOOLEAN NOT NULL DEFAULT true,
|
||||
status TEXT NOT NULL DEFAULT 'ready',
|
||||
max_context_load_time INTEGER NOT NULL DEFAULT 1440,
|
||||
|
||||
Reference in New Issue
Block a user