Closed MartyIce closed 1 year ago
~Could you provide a backtrace of the exception and Dynamoid version?~
The import
method accepts an array of Hash
es, not instantiated models, e.g.
users = User.import([{ name: 'a' }, { name: 'b' }])
That ^ fixed the problem. Thank you!
I'm trying to migrate data from sql to dynamodb in a migration script. With the following migration:
Model Definition:
Migration:
I get the following error:
Rails 7.0.4.3 Ruby: ruby 3.1.4p223 (2023-03-30 revision 957bb7cb81) [x86_64-linux]