defmodule Mango.Catalog.Product do | |
use Ecto.Schema | |
schema "products" do | |
field :image, :string | |
field :is_seasonal, :boolean, default: false | |
field :name, :string | |
field :price, :decimal | |
field :sku, :string | |
field :category, :string | |
field :pack_size, :string | |
timestamps() | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment