Skip to content

Commit

Permalink
WMS ID: #8641 - Fixes in Movies workshop (#127)
Browse files Browse the repository at this point in the history
* Movies HOL 22.1 updates

Move Movies HOL 21.2 to 21.2 folder and update movies-lab folder to contain lab for APEX 22.1

* Update Movies HOL after feedback

Remove unused images and lab exports, removed Try It Out steps in Lab 1, added note in Lab 2 about Web Credential Name, removed index.html and manifest.json files from main folder.

* Updated index files and catalog file name

Replaced old index.html files in apex-212/movies-lab to have the new, correct content. Changed the TMDB_Catalog.sql name to all lowercase.

* Rename TMDB_Catalog.sql to tmdb_catalog.sql

* Updated OCW lab titles and added freetier

* Cleanup a couple of bugs in movies HOL

Removed line from Lab 1 that got left behind in last change. Fixed incorrect static value in Runtime facet.

* Fixes in Movies and Shopping Cart

Fix incorrect page number in Movies HOL and spelling mistake in Shopping Cart HOL.

* Quarterly QA Updates

Move 22.1 lab version to new folder, update lab to 22.2

* Movies Workshop 23.1 Updates

Updated movies-lab: changed version # to 23.1 and updated some screenshots and text. Added apex-222 folder and moved old workshop version there. Changed 22.2 version to use PAR links for .sql files.

* Update Movies SQL files

Remove files folder from each lab under movies-lab and replace file URLs with PAR link to download each application export

* Update Movies TMDB Catalog

Fix download URLs for TMDB Catalog to use PAR links

* Movies HOL 23.2 updates

Created new 23.1 folder for Movies HOL and updated movies-lab screenshots and labs for APEX 23.2

* Movies lab fixes

Fix Quick SQL statements (lab 5) and screenshot (lab 6)
  • Loading branch information
pvhanssen authored Dec 21, 2023
1 parent 713e193 commit aed23f6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions movies-lab/5-creating-tables/creating-tables.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ The first table you need to create is the movie\_users table. It is very simple,
```
<copy>
movie_users
id /pk
username /unique
```
Expand Down Expand Up @@ -148,8 +147,7 @@ You will need a table to store some basic movie information in addition to the u
```
<copy>
watchlist
id /pk
watchlist /unique movie_id, user_id
movie_id
user_id /fk movie_users
watched_yn
Expand All @@ -159,7 +157,6 @@ You will need a table to store some basic movie information in addition to the u
release_date
runtime num
vote_average num
movie_id, user_id /unique
```
* Note the /unique directive in the last line of the Quick SQL code. In the movie\_users table, you created a unique key by using the /unique directive for the username column. This prevents the same user from getting put into the table more than once by making sure the username is always unique. In the watchlist table, the unique key actually comes from two different columns: movie\_id and user\_id. A single user cannot add the same movie to the watchlist table more than once. Unique keys are extremely helpful when it comes to maintaining the integrity of the data in your local tables.
Expand Down
Binary file modified movies-lab/6-creating-details-buttons/images/add-ssc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit aed23f6

Please sign in to comment.