Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ erl_crash.dump
*.ez

# Ignore package tarball (built via "mix hex.build").
data_migration_live_dashboard-*.tar
data_migration-*.tar

# Temporary files, for example, from tests.
/tmp/
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.1.2 (2026-08-05)

- Fixup Elixir 1.20 type warning

## 0.1.1 (2026-07-16)

- Fix concurrent LiveView accumulating duplicate migrations over time.
Expand Down
2 changes: 0 additions & 2 deletions lib/data_migration/live_dashboard/page.ex
Original file line number Diff line number Diff line change
Expand Up @@ -535,8 +535,6 @@ defmodule DataMigration.LiveDashboard.Page do

# This is only ignored because of dialyzer also ignoring `DataMigration.Logger.add/4`
@dialyzer {:nowarn_function, update_status: 3}
defp update_status(migrations, nil, _status), do: {nil, migrations}

defp update_status(migrations, migration, status) do
%{id: id, repo: repo, folder: folder} = migration

Expand Down
7 changes: 5 additions & 2 deletions mix.exs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
defmodule DataMigration.MixProject do
use Mix.Project
@version "0.1.1"
@version "0.1.2"
@source_url "https://github.com/tv-labs/data-migration"
@adapters ~w[pg myxql tds sqlite]

Expand All @@ -27,7 +27,6 @@ defmodule DataMigration.MixProject do
extras: ["CHANGELOG.md"]
],
deps: deps(),
preferred_cli_env: ["test.all": :test, "test.adapters": :test],
aliases: aliases(),
dialyzer: [
plt_add_apps: [:ex_unit, :mix],
Expand All @@ -36,6 +35,10 @@ defmodule DataMigration.MixProject do
]
end

def cli do
[preferred_envs: ["test.all": :test, "test.adapters": :test]]
end

# Run "mix help compile.app" to learn about applications.
def application do
[
Expand Down
Loading