de9f56c97d
PR Checks / test-and-build (pull_request) Failing after 3m18s
Route new schedules to an existing forum topic when /newsession is sent inside one, create bot-owned topics only from the forum root, and keep group notifications/dashboard updates threaded to the stored topic. Persist topic ownership so deletion only removes empty bot-created topics, add topic routing tests and smoke coverage, and bump release metadata to 1.14.0.
7 lines
167 B
SQL
7 lines
167 B
SQL
ALTER TABLE sessions
|
|
ADD COLUMN topic_created_by_bot BOOLEAN NOT NULL DEFAULT FALSE;
|
|
|
|
UPDATE sessions
|
|
SET topic_created_by_bot = TRUE
|
|
WHERE thread_id IS NOT NULL;
|