Skip to content

Commit

Permalink
Fix some glaring syntax errors
Browse files Browse the repository at this point in the history
  • Loading branch information
arnavb committed Jun 11, 2024
1 parent ce2c214 commit 6a5e45f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Migrations/Scripts/001_Create_Tables.sql
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ CREATE TABLE
CREATE TABLE
speed_exercise_details (
id INT PRIMARY KEY,
duration_sec INT NOT NULL distance_miles REAL NOT NULL,
duration_sec INT NOT NULL,
distance_miles REAL NOT NULL,
exercise_log_id INT NOT NULL,
FOREIGN KEY (exercise_log_id) REFERENCES exercise_log (id)
);
Expand All @@ -45,5 +46,5 @@ CREATE TABLE
id INT PRIMARY KEY,
duration_sec INT NOT NULL,
exercise_log_id INT NOT NULL,
FOREIGN KEY (exercise_log_id) REFERENCES exercise_log (id),
FOREIGN KEY (exercise_log_id) REFERENCES exercise_log (id)
);

0 comments on commit 6a5e45f

Please sign in to comment.