We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Annotate reads the default value from ActiveRecord::Enum This bug or feature?
ALTER TABLE table_name ADD field INTEGER NOT NULL DEFAULT 0; # field :integer default("UDP"), not null
@drwl @sashabelozerov @ctran
The text was updated successfully, but these errors were encountered:
NULL
I think this is a bug. Because in DB default is definitely not a string. I'm affected by this as well :((
Sorry, something went wrong.
@ixti in case you're curious, I talk about this on my repo drwl/annotaterb#57. tl;dr if it was easy to support db level annotations then I would.
No branches or pull requests
Annotate reads the default value from ActiveRecord::Enum
This bug or feature?
Version
@drwl @sashabelozerov @ctran
The text was updated successfully, but these errors were encountered: