RESOLVED FIXED 197729
[ews-app] Add migrations file to repository
https://bugs.webkit.org/show_bug.cgi?id=197729
Summary [ews-app] Add migrations file to repository
Aakash Jain
Reported 2019-05-08 18:09:24 PDT
As per https://docs.djangoproject.com/en/1.11/topics/migrations/ "The migration files for each app live in a “migrations” directory inside of that app, and are designed to be committed to, and distributed as part of, its codebase." We should add the migration file for ews-app to the repository. That would make it easier to reproduce the environment consistently, and also make it easier to track schema changes.
Attachments
Patch (3.97 KB, patch)
2019-05-09 03:53 PDT, Aakash Jain
no flags
Archive of layout-test-results from ews213 for win-future (13.39 MB, application/zip)
2019-05-09 05:40 PDT, EWS Watchlist
no flags
Aakash Jain
Comment 1 2019-05-09 03:53:12 PDT
EWS Watchlist
Comment 2 2019-05-09 05:40:19 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 3 2019-05-09 05:40:21 PDT Comment hidden (obsolete)
Jonathan Bedard
Comment 4 2019-05-09 08:47:38 PDT
I agree that committing this is a good idea, but only if we're at a point where the schema is expected to be mostly stable, are we at that point? To be clear, I'm am expecting future schema changes, but I'm not expecting us to be iterating on the entire architecture of the EWS app.
Aakash Jain
Comment 5 2019-05-09 09:02:34 PDT
(In reply to Jonathan Bedard from comment #4) > I agree that committing this is a good idea, but only if we're at a point where the schema is expected to be mostly stable, are we at that point? Yup. I think we are at that point. I have been holding this off for a while for this reason. Haven't had any schema change for over a month. Also since we have already deployed in production, Django will create separate incremental migration file for any further schema change on the production server. Therefore it's best to check-it in to keep any testing environment similar to production environment.
WebKit Commit Bot
Comment 6 2019-05-09 10:13:53 PDT Comment hidden (obsolete)
Aakash Jain
Comment 7 2019-05-09 10:26:13 PDT
Comment on attachment 369483 [details] Patch Clearing flags on attachment: 369483 Committed r245143: <https://trac.webkit.org/changeset/245143>
Aakash Jain
Comment 8 2019-05-09 10:26:16 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 9 2019-05-09 10:27:25 PDT
Note You need to log in before you can comment on or make changes to this bug.