How to find the `.sql` files in this book’s code archive?

The author says “you can use the .sql files in this book’s code archive as database snapshots” and that “the database.sql file will change depending on which sample you’re viewing.”

I believe the code archive is found at https://github.com/spbooks/phpmysql7

I see that each chapter is represented by a branch, such as https://github.com/spbooks/phpmysql7/tree/MySQL-DeleteJoke. But the database.sql isn’t present (and would have existed a directory up from where the git commit was made, I think).

I have tried downloading a branch as a zip file, and tried cloning the enter repository and switching branches (with git branch … ). But I found no database.sql file.

How do I find the database.sql file(s) in this book’s code archive?

@TomB, Do you happen to know where we can find the .sql files in this repo? I can’t seem to find any in the number of branches I looked at.

Did anyone get an answer on this? I can’t seem to find any of the sql files anywhere on Github.

@camelCase in the even of @TomB not being around, is there anyone else who can help?

1 Like