Fork me on GitHub

Rapport de message :*
 

Re: newbb pièces jointes de vieux posts

Titre du sujet : Re: newbb pièces jointes de vieux posts
par escrime-info sur 27/04/2020 14:00:18

Citation :
alain01 a écrit :
La structure doit être celle construite à partir de ceci je pense :

DROP TABLE IF EXISTS `newbb_attachments`;
CREATE TABLE `newbb_attachments` (
  `
attach_id`   INT(8UNSIGNED     NOT NULL AUTO_INCREMENT,
  `
post_id`     INT(10UNSIGNED    NOT NULL DEFAULT '0',
  `
name_saved`  VARCHAR(255)                 DEFAULT NULL,
  `
name_disp`   VARCHAR(255)                 DEFAULT NULL,
  `
mimetype`    VARCHAR(255)                 DEFAULT NULL,
  `
online`      TINYINT(1UNSIGNED NOT NULL DEFAULT '1',
  `
attach_timeINT(10UNSIGNED    NOT NULL DEFAULT '0',
  `
download`    INT(10UNSIGNED    NOT NULL DEFAULT '0',
  
PRIMARY KEY (`attach_id`),
  
KEY `post_id` (`post_id`)
)
  
ENGINE MyISAM
  
DEFAULT CHARSET utf8;


Chez moi cette table est curieusement vide !
Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

65 Personne(s) en ligne (53 Personne(s) connectée(s) sur Forum) | Utilisateur(s): 0 | Invité(s): 65 | Plus ...