anyone have success introspecting a postgres db? I...
# orm-help
t
anyone have success introspecting a postgres db? I’m getting a ton of errors after introspecting and trying to deploy?
Copy code
Global
    ✖ Could not find the relation between the models Campus and CampusContact in the database
    ✖ Could not find the relation between the models Notification and User in the database
    ✖ Could not find the relation between the models Task and User in the database
    ✖ Could not find the relation between the models Booking and Room in the database
..........
As it turns out, Rails doesn’t create foreign keys by default, but interprets _id as a foreign key reference so I image that identifying those columns as foreign keys will hopefully fix my issue.