View Source Plausible.DataMigration.PopulateEventSessionColumns (Plausible v0.0.1)

Populates event session columns with data from sessions table.

Run via: ./bin/plausible rpc "Plausible.DataMigration.PopulateEventSessionColumns.run" Kill via: ./bin/plausible rpc "Plausible.DataMigration.PopulateEventSessionColumns.kill" Monitor via ./bin/plausible rpc "Plausible.DataMigration.PopulateEventSessionColumns.report_progress"

Suggested to run in a screen/tmux session to be able to easily monitor

SQL files available at: priv/data_migrations/PopulateEventSessionColumns/sql

Summary

Functions

Link to this function

confirm(message, func, default_choice \\ :yes)

View Source
Link to this function

report_progress(opts \\ [])

View Source
Link to this function

run_sql(name, assigns \\ [], options \\ [])

View Source
Link to this function

run_sql_confirm(name, options \\ [])

View Source
Link to this function

wait_until_mutations_complete(opts \\ [])

View Source