-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: alert_queries should use text column types (#1975)
- Loading branch information
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
priv/repo/migrations/20240219101411_alter_alert_queries_table_text_field.exs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
defmodule Logflare.Repo.Migrations.AlterAlertQueriesTableTextField do | ||
use Ecto.Migration | ||
|
||
def change do | ||
alter table(:alert_queries) do | ||
modify :query, :text, from: :string | ||
modify :description, :text, from: :string | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters