Fix translations key bad migration type

This commit is contained in:
Simon Prévost 2024-04-03 21:53:50 -04:00
parent 4f9298611c
commit e11e89d843

View File

@ -77,7 +77,7 @@ defmodule Accent.Repo.Migrations.AddNonNullableChecks do
end
alter table(:translations) do
modify(:key, :string, null: false)
modify(:key, :text, null: false)
modify(:removed, :boolean, null: false, default: false)
modify(:conflicted, :boolean, null: false, default: false)
modify(:comments_count, :integer, null: false, default: 0)