Функция schema table_name do ... end
и функция field :title, :string
тоже?Или как все это называется?
use MyApp, :model // import Ecto module to use its chema
// is schema is a custom type or sth or function, how to call it?
schema "documents" do
// and this line also
field :title, :string
timestamps()
end