Commit Graph

191 Commits

Author SHA1 Message Date
Ken Stevens ec37138138 add environment variable to allow flyway out of order migration 2019-12-09 11:32:25 -05:00
Ken Stevens 0b30033b0a upgrade flyway to latest version
automatically repair failed migrations
2019-12-09 11:19:18 -05:00
Ken Stevens 45bab9879f migration failed when no-column-shrink was enabled. 2019-12-06 19:21:30 -05:00
James Agnew 438ef70fdb Reuse connections in brute force migrator 2019-12-06 16:52:26 -05:00
James Agnew d91617e923
Account for review changes (#1623) 2019-12-05 18:01:45 -05:00
James Agnew 69a5266127 Allow non-flyway migration 2019-12-05 10:46:37 -05:00
James Agnew 86bd9a28fe
Fix to valueset expansion logic (#1613)
* Fox to valueset expansion logic

* Work on docs

* Docs tweaks

* Docs tweaks

* Fix test

* Remove unused class

* Add changelog
2019-12-01 21:21:19 -05:00
jamesagnew df57d24333 Add license headers 2019-11-27 04:49:45 -05:00
Ken Stevens 7593b7f8f7 fix test 2019-11-26 16:57:59 -05:00
Ken Stevens 82990f3e97 fix test 2019-11-26 10:39:21 -05:00
Ken Stevens ef77490c51 fix test 2019-11-26 09:50:40 -05:00
Ken Stevens 3d00634b16 make migration table name configurable 2019-11-26 09:07:53 -05:00
Ken Stevens 98d21c4ee3 review feedback 2019-11-23 07:34:49 -05:00
Ken Stevens 6543da1470 Merge remote-tracking branch 'remotes/origin/master' into ks-flyway 2019-11-15 09:28:30 -05:00
James Agnew 497a96ae68 Version bump for next round of development 2019-11-12 22:09:21 -05:00
jamesagnew f99ad981b5 Version bump to 4.1.0 2019-11-12 16:08:20 -05:00
Ken Stevens 509799095c don't hash on init script length since it will change. Hash based on class name. 2019-11-04 10:45:02 -05:00
Ken Stevens 53cedddcab rename BaseTask constructor parameters 2019-11-04 10:27:34 -05:00
Ken Stevens 4e2806bea5 add task descriptions 2019-11-04 10:20:54 -05:00
Ken Stevens 30865588e3 pre-review cleanup 2019-11-04 08:36:24 -05:00
Ken Stevens 947ac6f096 fix compile error from merge 2019-11-03 21:11:36 -05:00
Ken Stevens 4c732ce977 Merge remote-tracking branch 'remotes/origin/master' into ks-flyway 2019-11-03 21:07:59 -05:00
James Agnew f481e11ad5 Update migration tasks 2019-11-03 18:49:47 -05:00
Ken Stevens 779366ccad final hashcode equals fix 2019-11-03 15:52:32 -05:00
Ken Stevens ea21b59fde generalize initialize schema interface 2019-11-03 14:02:28 -05:00
Ken Stevens 5890059362 moar integration tests 2019-11-03 13:46:09 -05:00
Ken Stevens de4f909eda optimize imports 2019-11-02 21:52:35 -04:00
Ken Stevens becd6790e8 fix test 2019-11-02 21:51:17 -04:00
Ken Stevens 8ee06855d7 FIXME cleanup 2019-11-02 21:36:03 -04:00
Ken Stevens 4cdde60917 FIXME cleanup 2019-11-02 21:32:42 -04:00
Ken Stevens 8887d41283 added proxy indicator for hash indexes migration having been run (used TRM_CONCEPT_DESIG table existence) 2019-11-02 21:30:40 -04:00
Ken Stevens 6356205768 fix final task hashcode. Multiple runs now work. 2019-11-02 17:53:21 -04:00
Ken Stevens 3bfcb42012 fix enum hashcode 2019-11-02 17:48:30 -04:00
Ken Stevens 0404454167 abort schema initialization if HFJ_RESOURCE table already exists 2019-11-02 17:03:45 -04:00
Ken Stevens 5577680a85 test hashcodes are consistent (fixed 3 that weren't) 2019-11-02 16:56:39 -04:00
Ken Stevens f20fee297a add hashcode to initializationProvider 2019-11-01 22:02:07 -04:00
Ken Stevens 071b14cbcc add hashcode to initializationProvider 2019-11-01 22:00:59 -04:00
Ken Stevens 7855ce070c typo 2019-11-01 21:46:15 -04:00
Ken Stevens 6049ee6f1c init schema test 2019-11-01 21:40:24 -04:00
Ken Stevens 3dc2770962 consolidate providers 2019-11-01 21:35:11 -04:00
Ken Stevens 7066f35e49 persistence migrate from zero works. 2019-11-01 20:39:11 -04:00
Ken Stevens 49265dea32 added schema initialization but not used yet 2019-11-01 17:18:27 -04:00
Ken Stevens 5f294f335d merge 2019-11-01 13:38:18 -04:00
Ken Stevens bee993a0ec Merge remote-tracking branch 'remotes/origin/master' into ks-flyway
# Conflicts:
#	hapi-fhir-jpaserver-migrate/src/main/java/ca/uhn/fhir/jpa/migrate/taskdef/DropIndexTask.java
#	hapi-fhir-jpaserver-migrate/src/main/java/ca/uhn/fhir/jpa/migrate/taskdef/DropTableTask.java
2019-11-01 13:37:00 -04:00
James Agnew a5dceca075 Work on migrator task support for dropping tables in postgres 2019-11-01 11:04:20 -04:00
Ken Stevens d1814947b3 include version number in log message 2019-10-31 17:12:02 -04:00
Ken Stevens 0cfea8a871 changed to use hibernate auto ddl flag as a check 2019-10-31 15:47:52 -04:00
Ken Stevens f95e4d387d added schema migration validation 2019-10-31 14:56:55 -04:00
Ken Stevens 29752465c8 add boolean method FliwayMigrator.migrationRequired() so we can test if we have the current version 2019-10-30 20:27:25 -04:00
Ken Stevens 7bd29d69fd all done but removing the old migrator 2019-10-29 21:23:55 -04:00