Skip to content

Commit

Permalink
add migration
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslandoga committed Jan 17, 2025
1 parent 838d361 commit 63b4a13
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions priv/repo/migrations/20250117122435_backfill_teams.exs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
defmodule Plausible.Repo.Migrations.BackfillTeams do
use Ecto.Migration

def up do
if Plausible.ce?() do
Plausible.DataMigration.BackfillTeams.run(dry_run?: false)
end
end

def down do
raise "Irreversible"
end
end

0 comments on commit 63b4a13

Please sign in to comment.