Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-11413

phpbb_notification_types table should have an integer primary key

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-dev
    • Fix Version/s: 3.1.0-a1
    • Component/s: Notification System
    • Labels:
      None

      Description

      The phpbb_notification_types table has a VARCHAR(255) primary key which is repeated into the phpbb_notifications and phpbb_user_notifications tables, thus wasting disk space and probably worse index space.

      The proper/better solution seems to be having auto-generated integer primary key in phpbb_notification_types which is repeated into phpbb_notifications and phpbb_user_notifications.

        Issue Links

          Activity

          Hide
          bantu Andreas Fischer added a comment -

          phpbb_notification_types should then contain the full service or class name.

          Show
          bantu Andreas Fischer added a comment - phpbb_notification_types should then contain the full service or class name.

            People

            • Assignee:
              bantu Andreas Fischer
              Reporter:
              bantu Andreas Fischer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development