Manual: 1. Go to https://dbdiagram.io/d 2. Click *import* and choose *Import from Rails (schema.rb)* 3. Paste schema.rb content 4. voilĂ
https://dbdiagram.io/d
I encountered a problem when dropping a production database. Here's the solution