Skip to content

Instantly share code, notes, and snippets.

@willrax
Created July 19, 2015 13:19
Show Gist options
  • Save willrax/cdf0fa45e35dc4efbe94 to your computer and use it in GitHub Desktop.
Save willrax/cdf0fa45e35dc4efbe94 to your computer and use it in GitHub Desktop.
ecto-error.sh
$ mix ecto.migrate
** (MatchError) no match of right hand side value: %{columns: ["count"], command: :select, num_rows: 1, rows: [[0]]}
(ecto) lib/ecto/adapters/postgres.ex:61: Ecto.Adapters.Postgres.ddl_exists?/3
(ecto) lib/ecto/migration/schema_migration.ex:19: Ecto.Migration.SchemaMigration.ensure_schema_migrations_table!/1
(ecto) lib/ecto/migrator.ex:36: Ecto.Migrator.migrated_versions/1
(ecto) lib/ecto/migrator.ex:134: Ecto.Migrator.run/4
(mix) lib/mix/cli.ex:55: Mix.CLI.run_task/2
@willrax
Copy link
Author

willrax commented Jul 20, 2015

Got help via the IRC channel. Postgrex was too new and had to be rolled back to an earlier version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment