Error while migrating

Hi

I am very new to ruby. I have created a sample project using rails and installed an ibm_db driver.

I ran this command (rails g model employee name:string email:string).
everything is fine till now and after running this command ‘rake db:migrate’
I am facing :
rake aborted!
NoMethodError: undefined method `supports_datetime_with_precision?’ for “ar_internal_metadata”:String

I am using ruby 2.6.5, rails 6.0.1

Thanks,
Akhil