Skip to content

Commit

Permalink
remove comma in SQL query
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasHuber committed Jul 3, 2024
1 parent 5c1882b commit d3ab169
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export async function up(db: Database) {
const coursePages = await db.runSql<CoursePage[]>(`
SELECT
entity.id AS coursePageId,
ent2.id AS courseId,
ent2.id AS courseId
FROM entity
JOIN entity_link ON entity.id = entity_link.child_id
JOIN entity ent2 ON entity_link.parent_id = ent2.id
Expand Down

0 comments on commit d3ab169

Please sign in to comment.