Rails - Threadly project - Error "ActiveRecord::StatementInvalid"

Hi. I’m following all the steps to solve this project (https://www.codecademy.com/courses/learn-rails/projects/learn-rails_threadly), but I’m getting the following error on the browser screen when I try to preview my application:

"# ActiveRecord::StatementInvalid

SQLite3::CorruptException: database disk image is malformed: SELECT name FROM sqlite_master WHERE type = ‘table’ AND NOT name = ‘sqlite_sequence’ AND name = “schema_migrations”"

What am I doing wrong?

Thanks in advance!