From 3f5eecf15f49684af1c9a41d62d793ed0931a84e Mon Sep 17 00:00:00 2001 From: hq1 Date: Wed, 13 Dec 2023 14:44:52 +0100 Subject: [PATCH] Migration: Add `accept_traffic_until` to "sites" (#3627) --- .../20231211092344_add_accept_traffic_until_to_sites.exs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 priv/repo/migrations/20231211092344_add_accept_traffic_until_to_sites.exs diff --git a/priv/repo/migrations/20231211092344_add_accept_traffic_until_to_sites.exs b/priv/repo/migrations/20231211092344_add_accept_traffic_until_to_sites.exs new file mode 100644 index 0000000000..90dc6ca812 --- /dev/null +++ b/priv/repo/migrations/20231211092344_add_accept_traffic_until_to_sites.exs @@ -0,0 +1,9 @@ +defmodule Plausible.Repo.Migrations.AddAcceptTrafficUntilToSites do + use Ecto.Migration + + def change do + alter table(:sites) do + add :accept_traffic_until, :naive_datetime + end + end +end