-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Redesign initial table design to be more idiomatic
- Use generated identity columns rather than the serial data type. - Add a sequence order column for each set to keep track of relative order and combine that with the foreign key id to represent the primary key. - Add a missing date column for each log entry. - Mark the combination of user id and exercise name as unique.
- Loading branch information
Showing
1 changed file
with
19 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters