Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialWesley Wright
26,793 PointsSo... I think I missed a step, messed something up, or something...
I now no longer have a customers table in my database, but I do still have an empty employees table (think I misspelled 'drop', but maybe that isn't the issue... hard to say for certain). I need a bit of clarification on the goal of setting up Single Table Inheritance, as well as some guidance to right my wrongs.
How do I go about creating another Customer and Employee, so I can run "rake db:migrate" without errors... unless you suggest I do something else?
2 Answers
Twiz T
12,588 PointsCan you post your create_customers migration file?
Wesley Wright
26,793 PointsThankfully, I managed to hack it by creating both a customers and employees table for it to drop when i ran the migration... Thanks for offering to help, though. I probably should have tried that before posting the question :/