mirror of
https://github.com/plausible/analytics.git
synced 2024-12-18 06:41:29 +03:00
8 lines
194 B
Elixir
8 lines
194 B
Elixir
|
defmodule Plausible.Repo.Migrations.ChangeUserIdToUuid do
|
||
|
use Ecto.Migration
|
||
|
|
||
|
def change do
|
||
|
execute("ALTER TABLE pageviews ALTER COLUMN user_id TYPE uuid USING user_id::uuid")
|
||
|
end
|
||
|
end
|