ex_admin icon indicating copy to clipboard operation
ex_admin copied to clipboard

Abstract tables

Open dmytronasyrov opened this issue 7 years ago • 2 comments

Any idea how to use ex_admin with abstract tables which contain arc_ecto type?

schema "abstract table: images" do
    field :image, ImageUploader.Type
    field :assoc_id, Ecto.UUID

    timestamps()
  end

dmytronasyrov avatar May 22 '17 19:05 dmytronasyrov

Check out ex_admin_demo project for an example.

smpallen99 avatar May 23 '17 01:05 smpallen99

Thanks for a fast response. I have checked it already but there is no abstract tables in this project. Ex_admin trying to use incorrect table name:

Request: GET /admin/images
** (exit) an exception was raised:
    ** (Postgrex.Error) ERROR 42P01 (undefined_table): relation "MyApp.abstract table: images" does not exist

dmytronasyrov avatar May 23 '17 17:05 dmytronasyrov