Results 1 to 4 of 4

Thread: Update database wants to drop db indexes... why?

  1. #1
    User
    Join Date
    11-24-13.
    Posts
    44

    Default Update database wants to drop db indexes... why?

    Hi,
    in one of my websites (Contao 3.5.3) the update database shows me that he wants to:

    ALTER TABLE `tl_article` DROP INDEX `pid`;
    ALTER TABLE `tl_calendar_events` DROP INDEX `pid`;
    ALTER TABLE `tl_comments` DROP INDEX `source`;
    ALTER TABLE `tl_comments` DROP INDEX `parent`;
    ALTER TABLE `tl_comments_notify` DROP INDEX `source`;
    ALTER TABLE `tl_comments_notify` DROP INDEX `parent`;
    ALTER TABLE `tl_comments_notify` DROP INDEX `tokenConfirm`;
    ALTER TABLE `tl_content` DROP INDEX `pid`;
    ALTER TABLE `tl_faq` DROP INDEX `pid`;
    ALTER TABLE `tl_news` DROP INDEX `pid`;
    ALTER TABLE `tl_page` DROP INDEX `pid`;
    ALTER TABLE `tl_page` DROP INDEX `type`;

    Why?

  2. #2
    User Spooky's Avatar
    Join Date
    01-03-13.
    Posts
    339

    Default

    Validate your installation with the Contao Check.

  3. #3
    User Andreas's Avatar
    Join Date
    07-11-09.
    Location
    Mönchengladbach
    Posts
    499

    Default

    But I think that's normal. The indexes have changed in newer Contao versions.
    Web-Development, Freelancer, Burgtech, XHTML, HTML5, CSS, PHP, Javascript, MooTools, MySQL and more
    Amazon wishlist

  4. #4
    User Spooky's Avatar
    Join Date
    01-03-13.
    Posts
    339

    Default

    Hm, yeah that's true. In Contao 3.5 the index has been changed to a combined index: https://github.com/contao/core/blob/...rticle.php#L43

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •