Hey! First of all thank you for this fantastic LIQ, and sorry if I break any rules (would be grateful for pointing them out!).
Steps;
1. Create new migration
mix ecto.gen.migration test
2. Sample migration
defmodule Test.Repo.Migrations.Test do
use Ecto.Migration
def change do
alter table(:tests) do
add :test, :string, required: true
end
end
end
3. Migrate
mix ecto.migrate
Here, the 'unknown' option (required: true) has been used, but Ecto didn't care about it. (in the following case, that should be `null: false`, someone just missed that with components :D). Maybe we could warn the developer about it?
Thank you in advance!
Kind regards
Mateusz Osinski