Elixir newbie here.
In rails, annotate_models can help to annotate table schema information in comment.
# == Schema Info
#
# Table name: line_items
#
# id :integer(11) not null, primary key
# quantity :integer(11) not null
# product_id :integer(11) not null
# unit_price :float
# order_id :integer(11)
#
class LineItem < ActiveRecord::Base
belongs_to :product
Is there a similar tool in phoenix ? Or can I read a table’s column and index information manually by ecto?
Thanks