Skip to content
This repository was archived by the owner on Jun 30, 2024. It is now read-only.

Commit 8c285ae

Browse files
authored
Merge pull request #2025 from bjones1/alembix-fix
Fix: Perform migrations using Alembic on the bookserver for tables...
2 parents 27fc054 + d9da8ae commit 8c285ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

models/practice.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
# assignment deadline passes.
2424
# A value of 2 indicates manually by the instructor, as it is implemented currently.
2525
Field("flashcard_creation_method", type="integer", default=0),
26-
migrate=table_migrate_prefix + "course_practice.table",
26+
migrate=bookserver_owned("course_practice"),
2727
)
2828

2929

@@ -42,7 +42,7 @@
4242
Field("next_eligible_date", type="date"),
4343
Field("creation_time", type="datetime"),
4444
Field("timezoneoffset", type="integer", default=0),
45-
migrate=table_migrate_prefix + "spacing.table",
45+
migrate=bookserver_owned("user_topic_practice"),
4646
)
4747

4848

0 commit comments

Comments
 (0)