Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Add `hourly_api_request_limit` column to `teams` (#5225)

Adrian Gruntkowskie5932585f7ed
diff --git a/priv/repo/migrations/20250319201227_add_teams_hourly_api_request_limit.exs b/priv/repo/migrations/20250319201227_add_teams_hourly_api_request_limit.exs
new file mode 100644
index 0000000000..b38ddd66d0
--- /dev/null
+++ b/priv/repo/migrations/20250319201227_add_teams_hourly_api_request_limit.exs
@@ -0,0 +1,9 @@
+defmodule Plausible.Repo.Migrations.AddTeamsHourlyApiRequestLimit do
+ use Ecto.Migration
+
+ def change do
+ alter table(:teams) do
+ add :hourly_api_request_limit, :integer, null: false, default: 600
+ end
+ end
+end