-
Notifications
You must be signed in to change notification settings - Fork 13
Change type of 'reporter_uuid' (or 'reason') column
MrTigreroux edited this page Jul 16, 2020
·
6 revisions
You will see here how to change the type of 'reporter_uuid' (or 'reason', 'reported_ip', 'reporter_ip', 'appreciation') column on your MySQL database.
If you use the SQLite (default) database, you don't need to do anything.
- Go on the phpMyAdmin page of your MySQL database.
- Open the Structure tab of tigerreports_reports table.
- Click on Modify button of the reporter_uuid (or reason / reported_ip / reporter_ip / appreciation) column (displayed in line 6).
- Change type (from CHAR) to VARCHAR (or TEXT if you have many reporters for the same reason).
- Change size (from 36) to 255 (or more if TEXT, or 46 if reported_ip or reporter_ip).
- Save your changes
Voici une aide pour changer le type de la colonne "reporter_uuid" (ou "reason", "reported_ip", "reporter_ip", "appreciation") dans votre base de données MySQL.
Si vous utilisez la base de données SQLite (par défaut), vous n'avez rien à faire.
- Allez sur la page phpMyAdmin de votre base de données MySQL.
- Ouvrez l'onglet Structure de la table tigerreports_reports.
- Cliquez sur le bouton Modifier de la colonne reporter_uuid (ou reason / reported_ip / reporter_ip / appreciation) (affichée à la ligne 6).
- Changez le type (CHAR) en VARCHAR (ou TEXT si vous avez beaucoup de signaleurs pour la même raison).
- Changez la taille (36) en 255 (ou plus si TEXT, ou 46 si reported_ip ou reporter_ip).
- Enregistrez les changements.