Synchronized Editor: Store all events and allow multiple tabs

* This commit refactors the table used to store events.
* We also use a UUID as session identifier in the synchronized editor to support multiple concurrent tabs opened by the same user.
* Further, we renamed some methods to make them easier to distinguish.
This commit is contained in:
Sebastian Serth
2023-09-06 22:29:33 +02:00
committed by Sebastian Serth
parent c42fb8fc09
commit 5dd6df9418
7 changed files with 97 additions and 47 deletions

View File

@ -0,0 +1,10 @@
# frozen_string_literal: true
class RenameColumnsInEventsSynchronizedEditor < ActiveRecord::Migration[7.0]
def change
change_table :events_synchronized_editor do |t|
t.rename :action, :editor_action
t.rename :command, :action
end
end
end