$ rails consoleで新規ユーザー作成しましたが、>> User.create(name: "名前", email: "mhartl@example.com", password: "foobar")
⇨サーバー起動したら、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"
のエラーメッセージです、何が原因なのかわからずです。よろしくお願いします。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2017/09/04 12:13