fix: trim input before passing to String.to_integer/1.

This commit is contained in:
James Harton 2024-09-19 11:34:57 +12:00
parent bc26951c41
commit 632878cbee
Signed by: james
GPG key ID: 90E82DAA13F624F4

View file

@ -727,6 +727,7 @@ defmodule AshPostgres.MigrationGenerator do
opts
|> prompt(message)
|> String.trim()
|> String.to_integer()
end