mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-10 19:43:16 +00:00
Fix migration from phrasea to doctrine manager
This commit is contained in:
@@ -92,6 +92,12 @@ class patch_360 implements patchInterface
|
|||||||
$stmt->execute();
|
$stmt->execute();
|
||||||
$stmt->closeCursor();
|
$stmt->closeCursor();
|
||||||
|
|
||||||
|
$sql = 'UPDATE Baskets SET pusher_id = NULL WHERE pusher_id = 0';
|
||||||
|
|
||||||
|
$stmt = $appbox->get_connection()->prepare($sql);
|
||||||
|
$stmt->execute();
|
||||||
|
$stmt->closeCursor();
|
||||||
|
|
||||||
$sql = 'INSERT INTO ValidationSessions
|
$sql = 'INSERT INTO ValidationSessions
|
||||||
(
|
(
|
||||||
SELECT id, v.ssel_id as basket_id ,created_on as created
|
SELECT id, v.ssel_id as basket_id ,created_on as created
|
||||||
|
Reference in New Issue
Block a user