Generate Session ID on server for synchronized editor

This change allows us to use the session ID immediately for the connection_change and connection_status methods. Hence, we can identify different browser sessions of the same user.
This commit is contained in:
Sebastian Serth
2023-09-12 17:39:45 +02:00
committed by Sebastian Serth
parent 914adeed42
commit cc90861bd5
5 changed files with 22 additions and 13 deletions

View File

@ -0,0 +1,7 @@
# frozen_string_literal: true
class RequireSessionIdForEventSynchronizedEditor < ActiveRecord::Migration[7.0]
def change
change_column_null :events_synchronized_editor, :session_id, false
end
end