Merge pull request #1135 from jloguercio/1.11.x

Fix example course categories that doesn't showing in category list and course catalog
remotes/angel/1.11.x
José Loguercio 9 years ago
commit 883ffe2c8e
  1. 3
      app/Migrations/Schema/V111/Version111.php

@ -62,6 +62,9 @@ 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("INSERT INTO access_url_rel_course_category (access_url_id, course_category_id) VALUES (1, 1) ");
$this->addSql("INSERT INTO access_url_rel_course_category (access_url_id, course_category_id) VALUES (1, 2) ");
$this->addSql("INSERT INTO access_url_rel_course_category (access_url_id, course_category_id) VALUES (1, 3) ");
$this->addSql('ALTER TABLE notification CHANGE content content TEXT');

Loading…
Cancel
Save