Skip to content

Commit

Permalink
fixup! EZP-25358: Documented migration script in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Bertrand Dunogier committed Feb 3, 2016
1 parent f7822a3 commit 79033c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bundle/Command/ConvertXmlTextToRichTextCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,10 @@ function convertFieldDefinitions(OutputInterface $output)
$this->db->quoteIdentifier('data_type_string'),
$updateQuery->bindValue('ezrichtext', null, PDO::PARAM_STR)
);
// was tagPreset in ezxmltext, unused in RichText
$updateQuery->set(
$this->db->quoteIdentifier('data_text2'),
// TODO maybe null and not empty string
$updateQuery->bindValue('', null, PDO::PARAM_STR)
$updateQuery->bindValue(null, null, PDO::PARAM_STR)
);
$updateQuery->where(
$updateQuery->expr->eq(
Expand Down

0 comments on commit 79033c1

Please sign in to comment.