You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a startup script to the app container to apply DB model migrations.
As mentioned in a comment by @chrispittman, he has provided an updated image for Peer Grading which includes DB model migrations for the session and cache tables. Therefore, we no longer need to worry about creating or maintaining additional migrations.
I think this is the best way to do it, until they add it upstream. jonespm@547cf26
I didn't commit this here incase you wanted to change it but all I did was copy the migration out of the container and added it to the Dockerfile.umich.
I don't see any way to provide a filename to artisan:table, which could be nice. Then just remove these steps.
You could run the migration at startup but that would need a script similar to the one I have for UDOIT. I don't think that's super important but would be nice to add eventually.
The text was updated successfully, but these errors were encountered:
@chrispittman, thanks for adding the sessions (and cache) DB model migrations to the image. I tested it and it worked great!
We'll still need to address this issue to apply the migrations, but at least we don't need to worry about maintaining this migration for sessions. I'll update the description of this issue to reflect that.
Add a startup script to the app container to apply DB model migrations.
As mentioned in a comment by @chrispittman, he has provided an updated image for Peer Grading which includes DB model migrations for the
session
andcache
tables. Therefore, we no longer need to worry about creating or maintaining additional migrations.Originally posted by @jonespm in #11 (comment):
The text was updated successfully, but these errors were encountered: