Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-3952

'Bundle\EshopBundle\Entity\Session' has invalid 'session' column definition

    XMLWordPrintable

Details

    • Ibexa Commerce

    Description

      The current definition is:

           * @ORM\Column(name="session_id", type="string", length=255)
           * @ORM\Id
           * @ORM\GeneratedValue(strategy="AUTO")
      

      It doesn't make sense to put "AUTO" there as this column shouldn't be incremented. This definition can cause problems for example with running:

      php bin/console doctrine:schema:update --force
      

      as it would alter this column all the repeatedly.

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              bartlomiej.wajda@ibexa.co Bartłomiej Wajda
              Votes:
              4 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: