cr-connect-workflow/migrations/versions
Dan Funk d85ca1ce51 Whenever a workflow is loaded or updated, add events to the TaskEvent table with assignments for the next set of ready tasks, along with who should complete those tasks.
Add the lane information to the Task model.
Drop the foreign key constraint on the user_uid in the task log, as we might create tasks for users before they ever log into the system.
Add a new endpoint to the API called task events.  It should be possible to query this and get a list of all tasks that need a users attention.
The task events returned include detailed information about the workflow and study as sub-models
Rename all the actions in event log to things that are easier to pass over the api as arguments, make this backwards compatible, updating existing names in the database via the migration.
Throughly test the navigation and task details as control of the workflow is passed between two lanes.
2020-07-14 22:16:44 -04:00
..
0f38d7a36f21_.py Fixing migration. 2020-04-21 17:31:20 -04:00
1fdd1bdb600e_.py Continuing a major refactor. Some important points: 2020-06-17 17:11:15 -04:00
5acd138e969c_.py Updating migrations 2020-06-24 21:47:15 -06:00
5e0709e172fa_.py Adds display order to categories 2020-03-26 15:29:52 -04:00
5f06108116ae_.py Adds is_status flag to workflow specs 2020-03-13 14:56:46 -04:00
7be7cecbeea8_.py Adds display order to Workflow Spec 2020-04-09 14:25:14 -04:00
7c0de7621a1f_.py missing another migration. This should fix it. 2020-03-30 09:40:56 -04:00
9b43e725f39c_.py Adding missing migration. 2020-05-25 23:47:40 -04:00
23c62c933848_.py forgot the migration. 2020-05-28 10:31:20 -04:00
55c6cd407d89_.py Adds cascade to study relationship so data loader doesn't freak out. 2020-05-22 22:04:11 -04:00
65f3fce6031a_.py Adds is_status flag to workflow_spec, status_spec_id & version to study, and is_active flag to WorkflowApi 2020-03-15 15:52:59 -04:00
87af86338630_.py Adding a migration for the last commit. 2020-03-30 08:36:10 -04:00
90dd63672e0a_.py Adds workflow stats and task events models and schemas. Updates workflow stats and logs task completion when task data is updated. 2020-03-10 21:29:57 -04:00
476f8a4933ba_.py If you name add a file to a workflow that has the exact same name as a Task Spec's ID, and an extension of "md", it wll use that file as the markdown content, and ignore the markdown in the documentation on the task spec. 2020-04-17 13:30:32 -04:00
1685be1cc232_.py Adding Migration, and checking that everything till works the same as before, only a little better. 2020-04-22 15:45:58 -04:00
5064b72284b7_.py Faster lookup fields. We were parsing the spec each time to get details about how to search. We're just grabbing the workflow id and task id now and building that straight into the full text search index for faster lookups. Should be peppy. 2020-05-29 01:39:39 -04:00
13424d5a6de8_.py as always, forgot the migration. 2020-06-02 18:17:51 -04:00
8856126b6658_.py Fixes migrations. Will require full database reset. 2020-03-06 09:50:32 -05:00
17597692d0b0_.py Fixing the migrations so I don't break the universe. 2020-06-04 10:09:36 -04:00
afecb64d2e66_.py Forgot a migration 2020-03-27 12:19:32 -04:00
bec71f7dc652_.py This migration will clear out any approvals in the database. 2020-05-28 20:13:33 -04:00
cc4bccc5e5a8_.py Setting JSON_SORT_KEYS to false, assuring that Flask does not resort all data returned to the front end. 2020-05-06 10:59:49 -04:00
ddd5fc9ea75b_.py Allow migration even when data exists. 2020-03-23 13:39:54 -04:00
de30304ff5e6_.py Shifting to a different model, where the TaskEvents store ONLY the form data submitted for that task. 2020-06-19 08:22:53 -04:00
ffef4661a37d_.py Whenever a workflow is loaded or updated, add events to the TaskEvent table with assignments for the next set of ready tasks, along with who should complete those tasks. 2020-07-14 22:16:44 -04:00