17 Commits

Author SHA1 Message Date
Aaron Louie
4534b0c2df Updates study model to better match Protocol Builder. Deletes all migrations and starts over, since Alembic has problems migrating changes to existing column constraints. 2020-02-28 11:14:30 -05:00
Aaron Louie
0cc59d0974 Adds study inactive flag. Sets study to inactive if not found in Protocol Builder. 2020-02-27 11:17:58 -05:00
Aaron Louie
3ef4860391 Adds user_uid and investigator_ids fields to Study. Gets studies from protocol builder and adds them if they aren't already in the database 2020-02-26 18:06:51 -05:00
Aaron Louie
581434b453 Adds SSO header attributes 2020-02-20 15:43:29 -05:00
Dan Funk
705cfc0a35 forgot a critical migration in the last commit. 2020-02-19 12:00:14 -05:00
Aaron Louie
71dac70e1f Updates list of allowed files. Removes unnecessary migrations. Note this will require a full wipe & reset of the database to work. 2020-02-05 17:23:37 -05:00
Aaron Louie
654f39e7fd Adds form field key to file model. 2020-02-05 14:55:31 -05:00
Aaron Louie
3ee0426ba9 Adds workflow_id to file endpoints. 2020-02-04 14:26:53 -05:00
Aaron Louie
098ecb3e87 Wipes out old migrations, since changing foreign key constraints in SQLite requires a full database reset anyways. 2020-02-04 09:57:02 -05:00
Aaron Louie
0368657549 Adds ability to get FileModel records by study and task 2020-02-03 21:56:18 -05:00
Aaron Louie
7fc2e87b84 Adds primary process ID to workflow spec 2020-01-23 10:54:41 -05:00
Aaron Louie
c11bf3d286 Adds workflow spec name field 2020-01-21 15:22:44 -05:00
Dan Funk
782271885a Fixing database migrations - will require a delete of the database. 2020-01-02 10:14:48 -05:00
Dan Funk
0685b282e8 Don't put foreign key constraints on primary keys. 2019-12-30 16:00:33 -05:00
Dan Funk
12953fc991 Adding database migration of file management. 2019-12-27 13:51:33 -05:00
Dan Funk
a734578327 re-building migrations. 2019-12-18 14:16:26 -05:00
Dan Funk
9861f6baf3 Lots and lots of random stuff as I organize code and get things to make sense. 2019-12-18 14:02:17 -05:00