mirror of
https://github.com/plausible/analytics.git
synced 2024-11-30 00:58:54 +03:00
32456d4348
* Bump asdf erlang & elixir * Bump erlang/elixir in the dockerfile * Remove Oban.Stager config as per https://github.com/sorentwo/oban/blob/main/guides/upgrading/v2.14.md * Configure Oban for tests as per https://github.com/sorentwo/oban/blob/main/guides/upgrading/v2.14.md * Mark sampling hint clause with unsafe fragment Any other/recommended way to do that? cc @ruslandoga * Address String.slice/2 deprecation * Update deps * Address 0.0 matching warning * Make funnel settings work although this is probably not the best way to do it. Needs revisiting, not sure what broke it - could not find any breaking changes in related dependencies. * Migrate oban as per https://github.com/sorentwo/oban/blob/main/guides/upgrading/v2.17.md * Update credo * Bump CI cache * Use `Bypass.pass` to avoid exit shutdown message
8 lines
183 B
Elixir
8 lines
183 B
Elixir
defmodule Plausible.Repo.Migrations.UpgradeObanJobsToV12 do
|
|
use Ecto.Migration
|
|
|
|
def up, do: Oban.Migrations.up(version: 12)
|
|
|
|
def down, do: Oban.Migrations.down(version: 11)
|
|
end
|