Skip to content

Commit 4b6463b

Browse files
committed
chore: reuse compliance
1 parent ab5a451 commit 4b6463b

13 files changed

+44
-4
lines changed

lib/data_layer.ex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2143,8 +2143,8 @@ defmodule AshPostgres.DataLayer do
21432143
# Compatibility fallback
21442144
Ash.Resource.put_metadata(
21452145
result_for_changeset,
2146-
:bulk_create_index,
2147-
changeset.context[:bulk_create][:index]
2146+
:bulk_action_ref,
2147+
changeset.context[:bulk_create][:ref]
21482148
)
21492149
end
21502150
end)
@@ -2160,8 +2160,8 @@ defmodule AshPostgres.DataLayer do
21602160
# Compatibility fallback
21612161
Ash.Resource.put_metadata(
21622162
result,
2163-
:bulk_create_index,
2164-
changeset.context[:bulk_create][:index]
2163+
:bulk_action_ref,
2164+
changeset.context[:bulk_create][:ref]
21652165
)
21662166
end)
21672167
end
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
SPDX-FileCopyrightText: 2019 ash_postgres contributors <https://github.com/ash-project/ash_postgres/graphs.contributors>
2+
3+
SPDX-License-Identifier: MIT
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
SPDX-FileCopyrightText: 2019 ash_postgres contributors <https://github.com/ash-project/ash_postgres/graphs.contributors>
2+
3+
SPDX-License-Identifier: MIT
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
SPDX-FileCopyrightText: 2019 ash_postgres contributors <https://github.com/ash-project/ash_postgres/graphs.contributors>
2+
3+
SPDX-License-Identifier: MIT
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
SPDX-FileCopyrightText: 2019 ash_postgres contributors <https://github.com/ash-project/ash_postgres/graphs.contributors>
2+
3+
SPDX-License-Identifier: MIT
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
SPDX-FileCopyrightText: 2019 ash_postgres contributors <https://github.com/ash-project/ash_postgres/graphs.contributors>
2+
3+
SPDX-License-Identifier: MIT
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
SPDX-FileCopyrightText: 2019 ash_postgres contributors <https://github.com/ash-project/ash_postgres/graphs.contributors>
2+
3+
SPDX-License-Identifier: MIT
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
SPDX-FileCopyrightText: 2019 ash_postgres contributors <https://github.com/ash-project/ash_postgres/graphs.contributors>
2+
3+
SPDX-License-Identifier: MIT
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
SPDX-FileCopyrightText: 2019 ash_postgres contributors <https://github.com/ash-project/ash_postgres/graphs.contributors>
2+
3+
SPDX-License-Identifier: MIT

priv/test_repo/migrations/20251020024026_migrate_resources64.exs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2019 ash_postgres contributors <https://github.com/ash-project/ash_postgres/graphs.contributors>
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
defmodule AshPostgres.TestRepo.Migrations.MigrateResources64 do
26
@moduledoc """
37
Updates resources based on their most recent snapshots.

0 commit comments

Comments
 (0)