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
Is there an easy way to ignore specific columns, specifically generated columns?
Error:
BasicsTest#test_basic_runthrough:
ActiveRecord::StatementInvalid: PG::GeneratedAlways: ERROR: cannot insert a non-DEFAULT value into column "full_name"
DETAIL: Column "full_name" is a generated column.
test/system/basics_test.rb:26:in `block (2 levels) in init_seeds'
test/system/basics_test.rb:25:in `each'
test/system/basics_test.rb:25:in `block in init_seeds'
test/system/basics_test.rb:19:in `init_seeds'
test/system/basics_test.rb:37:in `block in <class:BasicsTest>'
The text was updated successfully, but these errors were encountered:
Is there an easy way to ignore specific columns, specifically generated columns?
The text was updated successfully, but these errors were encountered: