mirror of
https://github.com/plausible/analytics.git
synced 2024-12-25 10:33:01 +03:00
9 lines
227 B
Elixir
9 lines
227 B
Elixir
|
defmodule Plausible.ClickhouseRepo.Migrations.AddSampleBy do
|
||
|
use Ecto.Migration
|
||
|
|
||
|
def change do
|
||
|
execute "ALTER TABLE events MODIFY SAMPLE BY user_id"
|
||
|
execute "ALTER TABLE sessions MODIFY SAMPLE BY user_id"
|
||
|
end
|
||
|
end
|