danfunk
8bf3415c34
Fixing a bad migration
2023-05-10 11:48:55 -04:00
mike cullerton
8d8db5f3ce
Merge branch 'dev'
2022-06-22 16:00:13 -04:00
mike cullerton
704917c7e3
Fix bug - Rename column doc_codes
to doc_code
2022-06-22 15:33:22 -04:00
mike cullerton
3f785dc597
Fix migration issue
2022-06-22 14:11:54 -04:00
mike cullerton
6f393f712d
Store doc_code information for email message attachments
...
- create table `email_doc_codes`
- create relationship with `email` table
- create schema for the new table
2022-06-15 15:15:40 -04:00
mike cullerton
4c24fde952
Code cleanup after file refactor
2022-05-20 10:47:14 -04:00
mike cullerton
5da6a9aa12
database cleanup after file refactor
2022-05-20 10:42:04 -04:00
mike cullerton
3d2ba971f2
Include the state message
2022-05-09 08:31:46 -04:00
mike cullerton
b13aac84e7
Change workflow_state to state
2022-05-06 14:02:11 -04:00
mike cullerton
7d29ac75de
add workflow_state column to WorkflowModel
2022-04-29 17:30:38 -04:00
Dan
f5c0008b1b
Merge remote-tracking branch 'origin/dev' into new-progress-status
2022-04-27 16:16:38 -04:00
Dan
4d57b68da0
fixing a migration so it won't error out on us, and updating the little postgres connect script to connect via docker and avoid command line client version differences.
2022-04-27 12:54:32 -04:00
mike cullerton
bcd2e32036
Add finance_in_progress
to ProgressStatus
2022-04-26 15:17:31 -04:00
mike cullerton
56fe0bb606
Add name
column to email
table
2022-04-25 15:36:47 -04:00
mike cullerton
d67238bc37
Fixed sequence name
2022-04-20 13:35:06 -04:00
mike cullerton
7f8ea483c9
only migrate the newest file_data model
...
clean up downgrade methods
2022-04-20 08:54:20 -04:00
mike cullerton
e641a660fb
*** WIP ***
...
First attempt at final migration
2022-04-19 15:13:55 -04:00
mike cullerton
061d55d231
Prep for final migration
2022-04-19 11:38:51 -04:00
mike cullerton
cde7aaaea5
Put size column back
2022-04-19 11:38:07 -04:00
mike cullerton
389d2b413e
More work on igrations
2022-04-14 18:06:08 -04:00
mike cullerton
7da440f30c
Update the data_store table with document_id for each file data_store
2022-04-14 15:12:41 -04:00
mike cullerton
efc37ee59f
Prepare for migrating data_stores
2022-04-13 08:52:22 -04:00
mike cullerton
d0007b67e8
*** WIP ***
...
Migrate file and file_data records to document table
Need to add a downgrade method
2022-04-12 13:25:08 -04:00
mike cullerton
7c23d36d7c
Add DocumentModel that combines FileModel and FileDataModel
2022-04-12 13:23:50 -04:00
Dan
405c63aaef
Merge remote-tracking branch 'origin/chore/study-progress' into staging-500-error
2022-03-18 12:59:31 -04:00
Dan
b7489aea43
merging in PI Name changes from Alicia's #499 PR.
2022-03-18 12:30:20 -04:00
alicia pritchett
12a0e26ee1
Include the PI name on the study model
2022-03-18 11:03:06 -04:00
Dan
ef5aca4fe4
ReviewType now comes back with the user studies, so we don't need to make an additional query to get it.
2022-03-18 09:59:10 -04:00
alicia pritchett
2ab96b16a0
Update the study model to include a progress (integer)
2022-03-17 17:20:42 -04:00
Dan
0510db38f1
Dealing with merge of migrations.
2022-03-12 16:22:45 -05:00
Dan
3189b07446
Merge branch 'dev' into chore/log-changes-661
2022-03-12 16:20:22 -05:00
alicia pritchett
be6a6bcf2e
migration
2022-03-12 15:20:14 -05:00
mike cullerton
04ac0335b8
Migration for the task log changes.
...
Also populate the new workflow_spec_id column
2022-03-08 16:47:54 -05:00
mike cullerton
b4e5fac5d9
Migration for new study status
2022-03-03 11:08:02 -05:00
Dan
65e62a72e1
These migrations were not runnable from blank state, so cleared out broken code, so someone can still brining up a system.
2022-02-17 15:04:09 -05:00
Dan
b72ecb8375
Another re-work to fix 619 - and to assure that we aren't rebuilding the lookup tables too frequently.
2022-02-17 11:59:48 -05:00
Dan
eb7760fa55
Adding the migration - very destructive, but required for running the app.
...
minor fixes - there is still some weird problems with study id and user id being null that I need to track down, but the issue is sporadic, and hard to track down.
2022-02-10 11:50:31 -05:00
Dan
ff9b2694ae
Fix migrations that depend on removed models.
2022-02-07 11:56:22 -05:00
Dan
5e826ed0cd
Adding the migration.
2022-02-02 16:21:45 -05:00
Dan
a6dd7a695d
The 7225 migration will cause all migrations to fail because it trys to import a service that no longer exists
2022-02-02 16:19:35 -05:00
mike cullerton
d82367ab2a
Move temp_migration_service code into migration 7225d990740e
...
Delete test_files_to_filesystem and test_files_from_filesystem--they were only used to give me access to the migration methods
2022-01-26 09:58:46 -05:00
Dan
f3637ee6a0
resolving todos, as they are done, and removing commented out code that is no longer in use.
2022-01-25 16:37:17 -05:00
Dan
f815add699
1. Add a default directory for the location of SYNC files.
...
2. Added a last_updated column to the lookup table
3. The Lookup service now uses the above, and compares it to the actual file date, we can then rebuild the lookup if needed.
4. That 755 migration loads up the models, so when you change the models, the migration starts to fail. Not really sure what to do here, but modify the migration while we are in process.
2022-01-20 13:05:58 -05:00
mike cullerton
31653ec85a
delete unused migration
2022-01-19 15:52:36 -05:00
mike cullerton
d83f28e1a7
Pushed so Dan can play
2022-01-18 15:55:49 -05:00
mike cullerton
68ac056457
Merge branch 'dev' into files-to-filesystem-572
2022-01-18 08:18:14 -05:00
mike cullerton
6e0bf65093
Prepping for merging current dev.
...
Will need to change the down revision, and fix the migration
2022-01-18 08:17:36 -05:00
Dan
e67a1554ea
Always but always but ALWAYS, use server_default=func.now() when setting up a datetime field we autopopulate.
2022-01-12 12:33:59 -05:00
Dan
7176452fe3
forgot the migration, also fixing an error in the TaskLogQuerySchema.
2022-01-10 13:26:16 -05:00
mike cullerton
d60ebf9a54
First attempt at changes to LookupFile table
...
Want to migrate data and modify table
Have to get session through bind
2022-01-06 14:28:20 -05:00