Change notification.content to text

ofaj
jmontoyaa 9 years ago
parent c9ce3219a3
commit 35ed7c0322
  1. 2
      app/Migrations/Schema/V111/Version111.php
  2. 2
      src/Chamilo/CoreBundle/Entity/Notification.php

@ -65,6 +65,8 @@ class Version111 extends AbstractMigrationChamilo
}
$this->addSql('CREATE TABLE access_url_rel_course_category (id INT AUTO_INCREMENT NOT NULL, access_url_id INT NOT NULL, course_category_id INT NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB');
$this->addSql('ALTER TABLE notification CHANGE content content TEXT');
}
/**

@ -36,7 +36,7 @@ class Notification
/**
* @var string
*
* @ORM\Column(name="content", type="string", length=255, nullable=true)
* @ORM\Column(name="content", type="text", nullable=true)
*/
private $content;

Loading…
Cancel
Save