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!
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 trial
karan BadhwarWeb Development Techdegree Graduate 18,135 Points
two tables people and person
If Sequelize Pluralize the name but it leaves with an extra table one with Person and other with People ? So which one is gonna be the main one and isn't that extra data?
And the People Table have everything on the Timestamp while on the Person table the timestamps are not there
There should not be two tables created in the SQL DB Browser. If there was, then there might be an option in your code causing that. The
Person is the model within our code, which represents the
People table in our actual SQL database. By default Sequelize pluralizes model names whenever it translates them into SQL tables. As mentioned in previous videos, this feature can be turned off via options.