You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding a column, I accidentally specified the type as Boolean instead of Bool and received an error like this: Unhandled exception: Negative argument (ArgumentError)
I would expect a compilation error about the incorrect type.
Example:
classAddUsers::V20210625020710 < Avram::Migrator::Migration::V1defmigrate
create :usersdo
primary_key id : Int64
add_timestamps
add admin : Booleanendenddefrollback
drop :usersendend
The text was updated successfully, but these errors were encountered:
When adding a column, I accidentally specified the type as
Boolean
instead ofBool
and received an error like this:Unhandled exception: Negative argument (ArgumentError)
I would expect a compilation error about the incorrect type.
Example:
The text was updated successfully, but these errors were encountered: