Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.
TypeScript analyticsanalytics-dashboardclickhouseelixirgoogle-analyticsmarketingopen-source-analyticsphoenixplausible-analyticspostgresqlprivacyprivacy-friendlyself-hostedsimple-analyticsstatisticstailwindcssweb-analyticswebsite-analyticswebsite-statswebsite-tracking
Drop events/sessions tables after V2 migration (#2908)
hq157af1f19ec09
diff --git a/priv/ingest_repo/migrations/20230509124919_clean_up_old_tables_after_v2_migration.exs b/priv/ingest_repo/migrations/20230509124919_clean_up_old_tables_after_v2_migration.exsnew file mode 100644index 0000000000..b68b8977a1--- /dev/null+++ b/priv/ingest_repo/migrations/20230509124919_clean_up_old_tables_after_v2_migration.exs@@ -0,0 +1,8 @@+defmodule Plausible.IngestRepo.Migrations.CleanUpOldTablesAfterV2Migration do+ use Ecto.Migration++ def change do+ drop_if_exists table(:events)+ drop_if_exists table(:sessions)+ end+end