Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/pr-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
- format:check
- lint
- spellcheck
- build
fail-fast: false
runs-on: ubuntu-latest
steps:
Expand Down
7 changes: 6 additions & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"owner": "typescript",
"fileLocation": "relative",
"pattern": {
// TODO: correct "regexp"
"regexp": "^([a-zA-Z]\\:/?([\\w\\-]/?)+\\.\\w+):(\\d+):(\\d+): (ERROR|WARNING)\\: (.*)$",
"file": 1,
"line": 3,
Expand All @@ -26,6 +25,12 @@
"endsPattern": "^.*\\[startup\\] Electron App.*$"
}
}
},
{
"label": "format-prettier",
"type": "shell",
"command": "pnpm exec prettier ${file} --write",
"problemMatcher": []
}
]
}
17 changes: 17 additions & 0 deletions apps/desktop/electron/database/migrations/0012_pink_king_cobra.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
CREATE VIEW `timing_objects` AS
SELECT
beats.position AS position,
beats.duration AS duration,
SUM(duration) OVER (
ORDER BY position
ROWS BETWEEN UNBOUNDED PRECEDING AND 1 PRECEDING
) AS timestamp,
beats.id AS beat_id,
pages.id AS page_id,
measures.id AS measure_id
FROM beats
LEFT JOIN pages
ON beats.id = pages.start_beat
LEFT JOIN measures
ON beats.id = measures.start_beat
ORDER BY beats.position ASC;
Binary file modified apps/desktop/electron/database/migrations/_blank.dots
Binary file not shown.
Loading
Loading