Compare commits
2 Commits
d549b98a82
...
refactor
| Author | SHA1 | Date | |
|---|---|---|---|
| 327aae5130 | |||
| 2e9fc3655a |
@@ -22,7 +22,7 @@ At the moment, an alpha version is undertaken, with these features:
|
|||||||
- Show movements through works (`sw work_number`)
|
- Show movements through works (`sw work_number`)
|
||||||
- Mark movement as mastered for active user (`m number_of_work number_of_movement`)
|
- Mark movement as mastered for active user (`m number_of_work number_of_movement`)
|
||||||
- Show possible commands (`h`)
|
- Show possible commands (`h`)
|
||||||
- (planned) Show mastered movements for activated user
|
- Show mastered movements for activated user (`sm`)
|
||||||
- (planned) display, if work or movement is mastered from active user when viewing works and movements
|
- (planned) display, if work or movement is mastered from active user when viewing works and movements
|
||||||
- (planned) Save recordings per movement in db
|
- (planned) Save recordings per movement in db
|
||||||
- (planned) Listen to saved recordings
|
- (planned) Listen to saved recordings
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ CREATE TABLE is_able_to_play(
|
|||||||
mov_id INTEGER NOT NULL,
|
mov_id INTEGER NOT NULL,
|
||||||
pianist_id INTEGER NOT NULL,
|
pianist_id INTEGER NOT NULL,
|
||||||
days_to_practice INTEGER DEFAULT 7,
|
days_to_practice INTEGER DEFAULT 7,
|
||||||
recording BLOB,
|
recording VARCHAR(255),
|
||||||
PRIMARY KEY(work_id, mov_id, pianist_id),
|
PRIMARY KEY(work_id, mov_id, pianist_id),
|
||||||
FOREIGN KEY(work_id, mov_id) REFERENCES movement(work_id, mov_number),
|
FOREIGN KEY(work_id, mov_id) REFERENCES movement(work_id, mov_number),
|
||||||
FOREIGN KEY(pianist_id) REFERENCES pianist(id)
|
FOREIGN KEY(pianist_id) REFERENCES pianist(id)
|
||||||
|
|||||||
Reference in New Issue
Block a user