Last active
August 29, 2015 14:25
-
-
Save lee-dohm/f08fe5b93e7ec580b445 to your computer and use it in GitHub Desktop.
Migration error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
** (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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule PackageSyncService.Repo.Migrations.CreateUser do | |
use Ecto.Migration | |
def change do | |
create table(:users) do | |
add :name, :string | |
timestamps | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment