Skip to content

Commit 1248f0f

Browse files
authored
adds migration to remove system sources with a type of rejected_events to align with changes to ecto enum in commit 0350b23 (#3014)
1 parent 0350b23 commit 1248f0f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
defmodule Logflare.Repo.Migrations.RemoveRejectedEventSystemSources do
2+
use Ecto.Migration
3+
4+
def up do
5+
execute("DELETE FROM sources WHERE system_source_type = 'rejected_events'")
6+
end
7+
8+
def down do
9+
:ok
10+
end
11+
end

0 commit comments

Comments
 (0)