Pierre Noël
9950bbe4c0
add previousDefinition in migration options
2021-03-18 18:28:19 +01:00
Alexandre Bodin
cefdde18f4
Init db lifecycles manager
2021-02-16 16:48:16 +01:00
Alexandre Bodin
02782076d0
Update migrations to be more extensible
2021-02-15 08:45:20 +01:00
Alexandre Bodin
1592417ed3
Add migration manager in database
2021-02-12 12:52:29 +01:00
Pierre Noël
4a02c158b9
Fix migration when disabling dp on sqlite ( #8768 )
...
* fix migration disable dp on sqlite
Signed-off-by: Pierre Noël <petersg83@gmail.com>
* fix mongo test
Signed-off-by: Pierre Noël <petersg83@gmail.com>
* use context instead of migrationInfos
* refacto
* remove useless if
2020-12-17 12:33:00 +01:00
Pierre Noël
ff5307e8b6
fix altercolumns db migration ( #8565 )
...
* fix alter-column db migration
Signed-off-by: Pierre Noël <petersg83@gmail.com>
* refacto of data migration + fix sqlite dp migration
Signed-off-by: Pierre Noël <petersg83@gmail.com>
* refacto create-migration-runner
Signed-off-by: Pierre Noël <petersg83@gmail.com>
* fix migration
Signed-off-by: Pierre Noël <petersg83@gmail.com>
* refacto
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-11-06 14:27:57 +01:00
Pierre Noël
d84284faf2
refacto
...
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-10-16 18:54:10 +02:00
Pierre Noël
e2341e9b06
run creation/update of the database even if the model hasnt changed
...
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-10-16 18:54:10 +02:00
Pierre Noël
025eed964c
dont run d&p migration at CT creation + rebuild tables if there were deleted in DB
...
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-10-16 18:54:09 +02:00
Alexandre BODIN
b91059a522
Fix undefined pk ( #8260 )
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-10-09 17:08:37 +02:00
Pierre Noël
a138695d95
fix missing hasTimestamp ( #8010 )
...
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-09-23 17:49:28 +02:00
Pierre Noël
74a85c1127
Add migration d&p
2020-09-22 17:39:40 +02:00
Pierre Noël
38216554d5
Draft publish/remove some validators for drafts ( #7537 )
...
* remove required + minLength validator for drafts
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-09-22 17:39:24 +02:00
Alexandre Bodin
8b6bf7fd10
Fix core_store init first
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-27 20:26:56 +02:00