1 min readDec 17, 2017
Hello again Adi,
Thank you for your support.
Just a nother question, is it possible to run the Rummage when the schema does not have default “id” primary key?
My scheme looks like this:
defmodule SdrTool.Prov.Sim douse Ecto.Schema#use Rummage.Ectoimport Ecto.Changesetalias SdrTool.Prov.Sim@primary_key {:iccid, :string, autogenerate: false}schema “sim” dofield :name, :string
field :age, :intigerhas_many :records, Simend
But I get the error
**(Mariaex.Error) (1054): Unknown column ‘s0.id’ in ‘field list’
(It happen with both rummage_ecto/phoenix ~> 1.0.0 and 1.2.0 )
Adding “id” column to the table resolve the issue, but the original table does not have the default “id” as a primary key.
Thanks!