Skip to content

Conversation

@txjackson252
Copy link
Contributor

This is my Lesson_25 homework on Introduction to Databases (SQL).

This update adds a new SQL script (trinitiejackson.sql) in the resources/queries directory containing queries that return counts of media items by type, the total pages checked out by guests, and a full list of all five guests with their checked-out items. It also introduces a new library_users table to the SQLite database for storing user information (UUID, email, first name, last name, and bcrypt-encoded password). Corresponding model (LibraryUserModel) and repository (LibraryUserRepository) classes were created and integrated into LibraryDataModel to load user data. The database was populated with sample users to verify functionality.

For this homework, I enjoyed it as it was straightforward, and I was able to catch on quicker than in other subjects. The only thing is thinking the logic all the way through, especially when connecting two tables. Kerry was able to help me with a lot of the homework (the three selects and the table), so I was able to go in the right direction for the rest of the homework. I was only really confused about the model and repository part, as I wasn't sure if we needed to create a new file since our SQL is unique, but these files won't really be unique. However, I followed the examples. I also had a bit of a hard time figuring out how to work the terminal for all this, but I figured it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant