- harden ammo context

- add user_id to ammo types
This commit is contained in:
2022-02-10 00:57:56 -05:00
parent 3b0850852e
commit e9ef44eb53
13 changed files with 325 additions and 242 deletions

View File

@ -25,6 +25,8 @@ defmodule Cannery.Repo.Migrations.CreateAmmoTypes do
add :manufacturer, :string
add :sku, :string
add :user_id, references(:users, on_delete: :delete_all, type: :binary_id)
timestamps()
end
end