mirror of
https://github.com/plausible/analytics.git
synced 2024-11-23 20:13:31 +03:00
12 lines
239 B
Elixir
12 lines
239 B
Elixir
defmodule Plausible.Repo.Migrations.ProperTimestampForPageviews do
|
|
use Ecto.Migration
|
|
|
|
def change do
|
|
alter table(:pageviews) do
|
|
remove :updated_at
|
|
end
|
|
|
|
rename table(:pageviews), :inserted_at, to: :timestamp
|
|
end
|
|
end
|