- store ammo type grain as integer

- make ammo type desc as text
This commit is contained in:
2022-01-31 22:29:09 -05:00
parent cc7162d267
commit 7015ec5997
2 changed files with 6 additions and 6 deletions

View File

@ -5,10 +5,10 @@ defmodule Cannery.Repo.Migrations.CreateAmmoTypes do
create table(:ammo_types, primary_key: false) do
add :id, :binary_id, primary_key: true
add :name, :string
add :desc, :string
add :desc, :text
add :case_material, :string
add :bullet_type, :string
add :weight, :float
add :grain, :integer
add :manufacturer, :string
timestamps()