       SQL.all from(p in "posts", select: p) |> normalize()
     end
   end
-
-  # test "from with schema source" do
-  #  query = "public.posts" |> select([r], r.x) |> normalize
-  #  assert SQL.all(query) == ~s{SELECT p0."x" FROM "public"."posts" AS p0}
-  # end
 
   test "select" do
     query = Model |> select([r], {r.x, r.y}) |> normalize

    assert SQL.all(query) == ~s{SELECT m0."x" FROM "model" AS m0}
  end

  test "from without model" do
    query = "posts" |> select([r], r.x) |> normalize
    assert SQL.all(query) == ~s{SELECT p0."x" FROM "posts" AS p0}


defmodule Sqlite.Ecto.Test do
  use ExUnit.Case, async: true

  # IMPORTANT: This is closely modeled on Ecto's postgres_test.exs file.
  # We strive to avoid structural differences between that file and this one.

  alias Sqlite.Ecto.Connection, as: SQL
  alias Ecto.Migration.Table
