Sup, in the first place i want you to know that I'm fresh to Phoenix Framework and Elixir. I was working my way through tutorials but I have encountered weird problem. I configured connection and everything is working. But migration files doesn't seem to be executed. I have written following file:
defmodule Hangman.Repo.Migrations.CreateWords do
use Ecto.Migration
def change do
create table(:words) do
add :content, :string
timestamps
end
end
end
Which is just a simple table with one field. But Table is not being created in the Database but Ecto thinks that everything is ok:
18:22:28.669 [info] Already up