Dude, you have no database migration to create the table. Put one in! How can anyone help you if you haven’t took care to create the DB schema?
EDIT: I mean, it’s pretty simple, you should have included it:
defmodule Store.Migrations.AddProducts do
use Ecto.Migration
def change do
create table(:products) do
add(:name, :string)
add(:bar_code, :string)
add(:price, :string)
add(:currency, :string)
timestamps(type: :utc_datetime_usec)
end
end
end


















