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
TinyTds::Error: Cannot insert an explicit value into a timestamp column. Use INSERT with a column list to exclude the timestamp column, or insert a DEFAULT into the timestamp column. (ActiveRecord::StatementInvalid)
#1328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
I used examples such as Model. create! ({key: value})
An error occurred TinyTds::Error: Cannot insert an explicit value into a timestamp column. Use INSERT with a column list to exclude the timestamp column, or insert a DEFAULT into the timestamp column. (ActiveRecord::StatementInvalid)
I did not assign a value to the timestamp field, but still reported this error, even if I only kept one field
Ruby Version 3.3.3
Rails 7.0.8.6
activerecord-sqlserver-adapter (7.0.7)
The text was updated successfully, but these errors were encountered:
I used examples such as
Model. create! ({key: value})
An error occurred
TinyTds::Error: Cannot insert an explicit value into a timestamp column. Use INSERT with a column list to exclude the timestamp column, or insert a DEFAULT into the timestamp column. (ActiveRecord::StatementInvalid)
I did not assign a value to the timestamp field, but still reported this error, even if I only kept one field
Ruby Version 3.3.3
Rails 7.0.8.6
activerecord-sqlserver-adapter (7.0.7)
The text was updated successfully, but these errors were encountered: