Manual:Filearchive table/fr

La table filearchive contient les informations sur tous les média supprimés, similaire aux tâches de la table et concernant les révisions supprimées. Ces fichiers sont situés à l'emplacement des fichiers supprimés; en cas de stockage local, il s'agit en général du répertoire images/deleted/. C'est la table qui permet de restituer les images après suppression. Les fichiers supprimés sont rangés à l'emplacement défini par, qui par défaut est. Voir aussi :

fa_id
ID unique de la ligne.

fa_name
Nom de fichier original de la base; clé pour, , etc.

fa_archive_name
Nom de fichier du fichier archivé, s'il s'agit d'une version ancienne, préfixé avec l'horodatage. Par exemple : 20090311210905!Constant_and_setup.png

fa_storage_group
Quel moyen d'enregistrement (répertoire ou objet de stockage) utiliser pour ranger les données de fichiers. Doit être  pour les fichiers supprimés; tout autre valeur n'est pas encore utilisée.

fa_storage_key
du contenu de fichier plus l'extension, utilisé comme clé pour l'enregistrement. Par exemple : 8f8a562add37052a1848ff7771a2c515db94baa9.jpg

fa_deleted_user
Utilisateur qui a supprimé le fichier

fa_deleted_timestamp
Horodatage de la suppression (si ce fichier est supprimé)

fa_deleted_reason
Commentaire de suppression (si ce fichier est supprimé)

Utilisez les tables  et   à la place.

fa_deleted_reason_id
Ceci est une clé externe vers dans la table.

fa_size
Taille du fichier en octets. Doublon avec.

fa_width
Largeur de l'image, en pixels. Doublon avec.

fa_height
Hauteur de l'image, en pixels. Doublon avec.

fa_metadata
Tableau PHP sérialisé avec les propriétés de fichier. Doublon avec.

fa_bits
Profondeur de bit des images GIF/PNG basées sur une palette (jusqu'à 16 bits). Les images qui ne sont pas défines par une palette (JPEG/PNG/TIFF/SVG) valent 0 ou 8. Tous les autres fichiers valent 0 par défaut. Doublon avec.

fa_media_type
Valeurs possibles : UNKNOWN, BITMAP, DRAWING, AUDIO, VIDEO, MULTIMEDIA, OFFICE, TEXT, EXECUTABLE, ARCHIVE

Doublon avec.

fa_major_mime
Valeurs possibles : unknown, application, audio, chemical, image, message, model, multipart, text, video

Doublon avec.

fa_minor_mime
Par exemple : jpeg, gif, png, etc.

Doublon avec.

fa_description
Champ de description fourni au moment du téléversement. Il ne s'agit pas de la page de description (page wiki File: associée), mais du résumé fourni par l'utilisateur en cas de rechargemement. Doublon avec.

Utilisez les tables  et   à la place.

fa_description_id
Ceci est une clé externe pour dans la table.

fa_user
de l'utilisateur qui a téléversé le fichier. Doublon avec.

fa_user_text
de l'utilisateur qui a téléversé le fichier. Doublon avec.

remplacé par fa_actor.

fa_actor
Ceci est une clé externe vers dans la table.

fa_timestamp
Horodatage du téléversement. Doublon avec.

fa_deleted
Visibilité des révisions supprimées, champ de bits.

fa_sha1
sha1 de hachage du contenu du fichier, encodé en base 36

Résumé du schéma
 +--+-+--+-+-++ +--+-+--+-+-++ +--+-+--+-+-++
 * Field               | Type                                                                                                        | Null | Key | Default | Extra          |
 * fa_id               | int(10) unsigned                                                                                            | NO   | PRI | NULL    | auto_increment |
 * fa_name             | varbinary(255)                                                                                              | NO   | MUL |         |                |
 * fa_archive_name     | varbinary(255)                                                                                              | YES  |     |         |                |
 * fa_storage_group    | varbinary(16)                                                                                               | YES  | MUL | NULL    |                |
 * fa_storage_key      | varbinary(64)                                                                                               | YES  |     |         |                |
 * fa_deleted_user     | int(11)                                                                                                     | YES  |     | NULL    |                |
 * fa_deleted_timestamp | binary(14)                                                                                                 | YES  | MUL | NULL    |                |
 * fa_deleted_reason_id | bigint(20) unsigned                                                                                        | NO   |     | NULL    |                |
 * fa_size             | int(10) unsigned                                                                                            | YES  |     | 0       |                |
 * fa_width            | int(11)                                                                                                     | YES  |     | 0       |                |
 * fa_height           | int(11)                                                                                                     | YES  |     | 0       |                |
 * fa_metadata         | mediumblob                                                                                                  | YES  |     | NULL    |                |
 * fa_bits             | int(11)                                                                                                     | YES  |     | 0       |                |
 * fa_media_type       | enum('UNKNOWN','BITMAP','DRAWING','AUDIO','VIDEO','MULTIMEDIA','OFFICE','TEXT','EXECUTABLE','ARCHIVE','3D') | YES  |     | NULL    |                |
 * fa_major_mime       | enum('unknown','application','audio','image','text','video','message','model','multipart','chemical')       | YES  |     | unknown |                |
 * fa_minor_mime       | varbinary(100)                                                                                              | YES  |     | unknown |                |
 * fa_description_id   | bigint(20) unsigned                                                                                         | NO   |     | NULL    |                |
 * fa_actor            | bigint(20) unsigned                                                                                         | NO   | MUL | NULL    |                |
 * fa_timestamp        | binary(14)                                                                                                  | YES  |     | NULL    |                |
 * fa_deleted          | tinyint(3) unsigned                                                                                         | NO   |     | 0       |                |
 * fa_sha1             | varbinary(32)                                                                                               | NO   | MUL |         |                |

 +--+-+--+-+-++ +--+-+--+-+-++ +--+-+--+-+-++
 * Field               | Type                                                                                                        | Null | Key | Default | Extra          |
 * fa_id               | int(11)                                                                                                     | NO   | PRI | NULL    | auto_increment |
 * fa_name             | varbinary(255)                                                                                              | NO   | MUL |         |                |
 * fa_archive_name     | varbinary(255)                                                                                              | YES  |     |         |                |
 * fa_storage_group    | varbinary(16)                                                                                               | YES  | MUL | NULL    |                |
 * fa_storage_key      | varbinary(64)                                                                                               | YES  |     |         |                |
 * fa_deleted_user     | int(11)                                                                                                     | YES  |     | NULL    |                |
 * fa_deleted_timestamp | binary(14)                                                                                                 | YES  | MUL | NULL    |                |
 * fa_deleted_reason_id | bigint(20) unsigned                                                                                        | NO   |     | NULL    |                |
 * fa_size             | int(10) unsigned                                                                                            | YES  |     | 0       |                |
 * fa_width            | int(11)                                                                                                     | YES  |     | 0       |                |
 * fa_height           | int(11)                                                                                                     | YES  |     | 0       |                |
 * fa_metadata         | mediumblob                                                                                                  | YES  |     | NULL    |                |
 * fa_bits             | int(11)                                                                                                     | YES  |     | 0       |                |
 * fa_media_type       | enum('UNKNOWN','BITMAP','DRAWING','AUDIO','VIDEO','MULTIMEDIA','OFFICE','TEXT','EXECUTABLE','ARCHIVE','3D') | YES  |     | NULL    |                |
 * fa_major_mime       | enum('unknown','application','audio','image','text','video','message','model','multipart','chemical')       | YES  |     | unknown |                |
 * fa_minor_mime       | varbinary(100)                                                                                              | YES  |     | unknown |                |
 * fa_description_id   | bigint(20) unsigned                                                                                         | NO   |     | NULL    |                |
 * fa_actor            | bigint(20) unsigned                                                                                         | NO   | MUL | NULL    |                |
 * fa_timestamp        | binary(14)                                                                                                  | YES  |     | NULL    |                |
 * fa_deleted          | tinyint(3) unsigned                                                                                         | NO   |     | 0       |                |
 * fa_sha1             | varbinary(32)                                                                                               | NO   | MUL |         |                |

 +--+-+--+-+++ +--+-+--+-+++ +--+-+--+-+++
 * Field               | Type                                                                                                        | Null | Key | Default        | Extra          |
 * fa_id               | int(11)                                                                                                     | NO   | PRI | NULL           | auto_increment |
 * fa_name             | varbinary(255)                                                                                              | NO   | MUL |                |                |
 * fa_archive_name     | varbinary(255)                                                                                              | YES  |     |                |                |
 * fa_storage_group    | varbinary(16)                                                                                               | YES  | MUL | NULL           |                |
 * fa_storage_key      | varbinary(64)                                                                                               | YES  |     |                |                |
 * fa_deleted_user     | int(11)                                                                                                     | YES  |     | NULL           |                |
 * fa_deleted_timestamp | binary(14)                                                                                                 | YES  | MUL |                |                |
 * fa_deleted_reason_id | bigint(20) unsigned                                                                                        | NO   |     | NULL           |                |
 * fa_size             | int(10) unsigned                                                                                            | YES  |     | 0              |                |
 * fa_width            | int(11)                                                                                                     | YES  |     | 0              |                |
 * fa_height           | int(11)                                                                                                     | YES  |     | 0              |                |
 * fa_metadata         | mediumblob                                                                                                  | YES  |     | NULL           |                |
 * fa_bits             | int(11)                                                                                                     | YES  |     | 0              |                |
 * fa_media_type       | enum('UNKNOWN','BITMAP','DRAWING','AUDIO','VIDEO','MULTIMEDIA','OFFICE','TEXT','EXECUTABLE','ARCHIVE','3D') | YES  |     | NULL           |                |
 * fa_major_mime       | enum('unknown','application','audio','image','text','video','message','model','multipart','chemical')       | YES  |     | unknown        |                |
 * fa_minor_mime       | varbinary(100)                                                                                              | YES  |     | unknown        |                |
 * fa_description_id   | bigint(20) unsigned                                                                                         | NO   |     | NULL           |                |
 * fa_actor            | bigint(20) unsigned                                                                                         | NO   | MUL | NULL           |                |
 * fa_timestamp        | binary(14)                                                                                                  | YES  |     |                |                |
 * fa_deleted          | tinyint(3) unsigned                                                                                         | NO   |     | 0              |                |
 * fa_sha1             | varbinary(32)                                                                                               | NO   | MUL |                |                |

 +--+-+--+-+++ +--+-+--+-+++ +--+-+--+-+++
 * Field               | Type                                                                                                        | Null | Key | Default        | Extra          |
 * fa_id               | int(11)                                                                                                     | NO   | PRI | NULL           | auto_increment |
 * fa_name             | varbinary(255)                                                                                              | NO   | MUL |                |                |
 * fa_archive_name     | varbinary(255)                                                                                              | YES  |     |                |                |
 * fa_storage_group    | varbinary(16)                                                                                               | YES  | MUL | NULL           |                |
 * fa_storage_key      | varbinary(64)                                                                                               | YES  |     |                |                |
 * fa_deleted_user     | int(11)                                                                                                     | YES  |     | NULL           |                |
 * fa_deleted_timestamp | binary(14)                                                                                                 | YES  | MUL |                |                |
 * fa_deleted_reason_id | bigint(20) unsigned                                                                                        | NO   |     | NULL           |                |
 * fa_size             | int(10) unsigned                                                                                            | YES  |     | 0              |                |
 * fa_width            | int(11)                                                                                                     | YES  |     | 0              |                |
 * fa_height           | int(11)                                                                                                     | YES  |     | 0              |                |
 * fa_metadata         | mediumblob                                                                                                  | YES  |     | NULL           |                |
 * fa_bits             | int(11)                                                                                                     | YES  |     | 0              |                |
 * fa_media_type       | enum('UNKNOWN','BITMAP','DRAWING','AUDIO','VIDEO','MULTIMEDIA','OFFICE','TEXT','EXECUTABLE','ARCHIVE','3D') | YES  |     | NULL           |                |
 * fa_major_mime       | enum('unknown','application','audio','image','text','video','message','model','multipart','chemical')       | YES  |     | unknown        |                |
 * fa_minor_mime       | varbinary(100)                                                                                              | YES  |     | unknown        |                |
 * fa_description_id   | bigint(20) unsigned                                                                                         | NO   |     | NULL           |                |
 * fa_user             | int(10) unsigned                                                                                            | YES  |     | 0              |                |
 * fa_user_text        | varbinary(255)                                                                                              | YES  | MUL |                |                |
 * fa_actor            | bigint(20) unsigned                                                                                         | NO   | MUL | 0              |                |
 * fa_timestamp        | binary(14)                                                                                                  | YES  |     |                |                |
 * fa_deleted          | tinyint(3) unsigned                                                                                         | NO   |     | 0              |                |
 * fa_sha1             | varbinary(32)                                                                                               | NO   | MUL |                |                |

 +--+-+--+-+++ +--+-+--+-+++ +--+-+--+-+++
 * Field               | Type                                                                                                        | Null | Key | Default        | Extra          |
 * fa_id               | int(11)                                                                                                     | NO   | PRI | NULL           | auto_increment |
 * fa_name             | varbinary(255)                                                                                              | NO   | MUL |                |                |
 * fa_archive_name     | varbinary(255)                                                                                              | YES  |     |                |                |
 * fa_storage_group    | varbinary(16)                                                                                               | YES  | MUL | NULL           |                |
 * fa_storage_key      | varbinary(64)                                                                                               | YES  |     |                |                |
 * fa_deleted_user     | int(11)                                                                                                     | YES  |     | NULL           |                |
 * fa_deleted_timestamp | binary(14)                                                                                                 | YES  | MUL |                |                |
 * fa_deleted_reason   | varbinary(767)                                                                                              | YES  |     |                |                |
 * fa_deleted_reason_id | bigint(20) unsigned                                                                                        | NO   |     | 0              |                |
 * fa_size             | int(10) unsigned                                                                                            | YES  |     | 0              |                |
 * fa_width            | int(11)                                                                                                     | YES  |     | 0              |                |
 * fa_height           | int(11)                                                                                                     | YES  |     | 0              |                |
 * fa_metadata         | mediumblob                                                                                                  | YES  |     | NULL           |                |
 * fa_bits             | int(11)                                                                                                     | YES  |     | 0              |                |
 * fa_media_type       | enum('UNKNOWN','BITMAP','DRAWING','AUDIO','VIDEO','MULTIMEDIA','OFFICE','TEXT','EXECUTABLE','ARCHIVE','3D') | YES  |     | NULL           |                |
 * fa_major_mime       | enum('unknown','application','audio','image','text','video','message','model','multipart','chemical')       | YES  |     | unknown        |                |
 * fa_minor_mime       | varbinary(100)                                                                                              | YES  |     | unknown        |                |
 * fa_description      | varbinary(767)                                                                                              | YES  |     |                |                |
 * fa_description_id   | bigint(20) unsigned                                                                                         | NO   |     | 0              |                |
 * fa_user             | int(10) unsigned                                                                                            | YES  |     | 0              |                |
 * fa_user_text        | varbinary(255)                                                                                              | YES  | MUL |                |                |
 * fa_actor            | bigint(20) unsigned                                                                                         | NO   | MUL | 0              |                |
 * fa_timestamp        | binary(14)                                                                                                  | YES  |     |                |                |
 * fa_deleted          | tinyint(3) unsigned                                                                                         | NO   |     | 0              |                |
 * fa_sha1             | varbinary(32)                                                                                               | NO   | MUL |                |                |

 +--+-+--+-+++ +--+-+--+-+++ +--+-+--+-+++
 * Field               | Type                                                                                                        | Null | Key | Default        | Extra          |
 * fa_id               | int(11)                                                                                                     | NO   | PRI | NULL           | auto_increment |
 * fa_name             | varbinary(255)                                                                                              | NO   | MUL |                |                |
 * fa_archive_name     | varbinary(255)                                                                                              | YES  |     |                |                |
 * fa_storage_group    | varbinary(16)                                                                                               | YES  | MUL | NULL           |                |
 * fa_storage_key      | varbinary(64)                                                                                               | YES  |     |                |                |
 * fa_deleted_user     | int(11)                                                                                                     | YES  |     | NULL           |                |
 * fa_deleted_timestamp | binary(14)                                                                                                 | YES  | MUL |                |                |
 * fa_deleted_reason   | varbinary(767)                                                                                              | YES  |     |                |                |
 * fa_deleted_reason_id | bigint(20) unsigned                                                                                        | NO   |     | 0              |                |
 * fa_size             | int(10) unsigned                                                                                            | YES  |     | 0              |                |
 * fa_width            | int(11)                                                                                                     | YES  |     | 0              |                |
 * fa_height           | int(11)                                                                                                     | YES  |     | 0              |                |
 * fa_metadata         | mediumblob                                                                                                  | YES  |     | NULL           |                |
 * fa_bits             | int(11)                                                                                                     | YES  |     | 0              |                |
 * fa_media_type       | enum('UNKNOWN','BITMAP','DRAWING','AUDIO','VIDEO','MULTIMEDIA','OFFICE','TEXT','EXECUTABLE','ARCHIVE','3D') | YES  |     | NULL           |                |
 * fa_major_mime       | enum('unknown','application','audio','image','text','video','message','model','multipart','chemical')       | YES  |     | unknown        |                |
 * fa_minor_mime       | varbinary(100)                                                                                              | YES  |     | unknown        |                |
 * fa_description      | varbinary(767)                                                                                              | YES  |     |                |                |
 * fa_description_id   | bigint(20) unsigned                                                                                         | NO   |     | 0              |                |
 * fa_user             | int(10) unsigned                                                                                            | YES  |     | 0              |                |
 * fa_user_text        | varbinary(255)                                                                                              | YES  | MUL | NULL           |                |
 * fa_timestamp        | binary(14)                                                                                                  | YES  |     |                |                |
 * fa_deleted          | tinyint(3) unsigned                                                                                         | NO   |     | 0              |                |
 * fa_sha1             | varbinary(32)                                                                                               | NO   | MUL |                |                |

 +--++--+-+++ +--++--+-+++ +--++--+-+++
 * Field               | Type                                                                                                   | Null | Key | Default        | Extra          |
 * fa_id               | int(11)                                                                                                | NO   | PRI | NULL           | auto_increment |
 * fa_name             | varbinary(255)                                                                                         | NO   | MUL |                |                |
 * fa_archive_name     | varbinary(255)                                                                                         | YES  |     |                |                |
 * fa_storage_group    | varbinary(16)                                                                                          | YES  | MUL | NULL           |                |
 * fa_storage_key      | varbinary(64)                                                                                          | YES  |     |                |                |
 * fa_deleted_user     | int(11)                                                                                                | YES  |     | NULL           |                |
 * fa_deleted_timestamp | binary(14)                                                                                            | YES  | MUL |                |                |
 * fa_deleted_reason   | varbinary(767)                                                                                         | YES  |     |                |                |
 * fa_size             | int(10) unsigned                                                                                       | YES  |     | 0              |                |
 * fa_width            | int(11)                                                                                                | YES  |     | 0              |                |
 * fa_height           | int(11)                                                                                                | YES  |     | 0              |                |
 * fa_metadata         | mediumblob                                                                                             | YES  |     | NULL           |                |
 * fa_bits             | int(11)                                                                                                | YES  |     | 0              |                |
 * fa_media_type       | enum('UNKNOWN','BITMAP','DRAWING','AUDIO','VIDEO','MULTIMEDIA','OFFICE','TEXT','EXECUTABLE','ARCHIVE') | YES  |     | NULL           |                |
 * fa_major_mime       | enum('unknown','application','audio','image','text','video','message','model','multipart','chemical')  | YES  |     | unknown        |                |
 * fa_minor_mime       | varbinary(100)                                                                                         | YES  |     | unknown        |                |
 * fa_description      | varbinary(767)                                                                                         | YES  |     | NULL           |                |
 * fa_user             | int(10) unsigned                                                                                       | YES  |     | 0              |                |
 * fa_user_text        | varbinary(255)                                                                                         | YES  | MUL | NULL           |                |
 * fa_timestamp        | binary(14)                                                                                             | YES  |     |                |                |
 * fa_deleted          | tinyint(3) unsigned                                                                                    | NO   |     | 0              |                |
 * fa_sha1             | varbinary(32)                                                                                          | NO   | MUL |                |                |

 +--++--+-+++ +--++--+-+++ +--++--+-+++
 * Field               | Type                                                                                                   | Null | Key | Default        | Extra          |
 * fa_id               | int(11)                                                                                                | NO   | PRI | NULL           | auto_increment |
 * fa_name             | varbinary(255)                                                                                         | NO   | MUL |                |                |
 * fa_archive_name     | varbinary(255)                                                                                         | YES  |     |                |                |
 * fa_storage_group    | varbinary(16)                                                                                          | YES  | MUL | NULL           |                |
 * fa_storage_key      | varbinary(64)                                                                                          | YES  |     |                |                |
 * fa_deleted_user     | int(11)                                                                                                | YES  |     | NULL           |                |
 * fa_deleted_timestamp | binary(14)                                                                                            | YES  | MUL |                |                |
 * fa_deleted_reason   | blob                                                                                                   | YES  |     | NULL           |                |
 * fa_size             | int(10) unsigned                                                                                       | YES  |     | 0              |                |
 * fa_width            | int(11)                                                                                                | YES  |     | 0              |                |
 * fa_height           | int(11)                                                                                                | YES  |     | 0              |                |
 * fa_metadata         | mediumblob                                                                                             | YES  |     | NULL           |                |
 * fa_bits             | int(11)                                                                                                | YES  |     | 0              |                |
 * fa_media_type       | enum('UNKNOWN','BITMAP','DRAWING','AUDIO','VIDEO','MULTIMEDIA','OFFICE','TEXT','EXECUTABLE','ARCHIVE') | YES  |     | NULL           |                |
 * fa_major_mime       | enum('unknown','application','audio','image','text','video','message','model','multipart','chemical')  | YES  |     | unknown        |                |
 * fa_minor_mime       | varbinary(100)                                                                                         | YES  |     | unknown        |                |
 * fa_description      | tinyblob                                                                                               | YES  |     | NULL           |                |
 * fa_user             | int(10) unsigned                                                                                       | YES  |     | 0              |                |
 * fa_user_text        | varbinary(255)                                                                                         | YES  | MUL | NULL           |                |
 * fa_timestamp        | binary(14)                                                                                             | YES  |     |                |                |
 * fa_deleted          | tinyint(3) unsigned                                                                                    | NO   |     | 0              |                |
 * fa_sha1             | varbinary(32)                                                                                          | NO   | MUL |                |                |

 +--++--+-+++ +--++--+-+++ +--++--+-+++
 * Field               | Type                                                                                                   | Null | Key | Default        | Extra          |
 * fa_id               | int(11)                                                                                                | NO   | PRI | NULL           | auto_increment |
 * fa_name             | varbinary(255)                                                                                         | NO   | MUL |                |                |
 * fa_archive_name     | varbinary(255)                                                                                         | YES  |     |                |                |
 * fa_storage_group    | varbinary(16)                                                                                          | YES  | MUL | NULL           |                |
 * fa_storage_key      | varbinary(64)                                                                                          | YES  |     |                |                |
 * fa_deleted_user     | int(11)                                                                                                | YES  |     | NULL           |                |
 * fa_deleted_timestamp | binary(14)                                                                                            | YES  | MUL |                |                |
 * fa_deleted_reason   | blob                                                                                                   | YES  |     | NULL           |                |
 * fa_size             | int(10) unsigned                                                                                       | YES  |     | 0              |                |
 * fa_width            | int(11)                                                                                                | YES  |     | 0              |                |
 * fa_height           | int(11)                                                                                                | YES  |     | 0              |                |
 * fa_metadata         | mediumblob                                                                                             | YES  |     | NULL           |                |
 * fa_bits             | int(11)                                                                                                | YES  |     | 0              |                |
 * fa_media_type       | enum('UNKNOWN','BITMAP','DRAWING','AUDIO','VIDEO','MULTIMEDIA','OFFICE','TEXT','EXECUTABLE','ARCHIVE') | YES  |     | NULL           |                |
 * fa_major_mime       | enum('unknown','application','audio','image','text','video','message','model','multipart')             | YES  |     | unknown        |                |
 * fa_minor_mime       | varbinary(100)                                                                                         | YES  |     | unknown        |                |
 * fa_description      | tinyblob                                                                                               | YES  |     | NULL           |                |
 * fa_user             | int(10) unsigned                                                                                       | YES  |     | 0              |                |
 * fa_user_text        | varbinary(255)                                                                                         | YES  | MUL | NULL           |                |
 * fa_timestamp        | binary(14)                                                                                             | YES  |     |                |                |
 * fa_deleted          | tinyint(3) unsigned                                                                                    | NO   |     | 0              |                |
 * fa_sha1             | varbinary(32)                                                                                          | NO   | MUL |                |                |

 +--++--+-+++ +--++--+-+++ +--++--+-+++
 * Field               | Type                                                                                                   | Null | Key | Default        | Extra          |
 * fa_id               | int(11)                                                                                                | NO   | PRI | NULL           | auto_increment |
 * fa_name             | varbinary(255)                                                                                         | NO   | MUL |                |                |
 * fa_archive_name     | varbinary(255)                                                                                         | YES  |     |                |                |
 * fa_storage_group    | varbinary(16)                                                                                          | YES  | MUL | NULL           |                |
 * fa_storage_key      | varbinary(64)                                                                                          | YES  |     |                |                |
 * fa_deleted_user     | int(11)                                                                                                | YES  |     | NULL           |                |
 * fa_deleted_timestamp | binary(14)                                                                                            | YES  | MUL |                |                |
 * fa_deleted_reason   | blob                                                                                                   | YES  |     | NULL           |                |
 * fa_size             | int(10) unsigned                                                                                       | YES  |     | 0              |                |
 * fa_width            | int(11)                                                                                                | YES  |     | 0              |                |
 * fa_height           | int(11)                                                                                                | YES  |     | 0              |                |
 * fa_metadata         | mediumblob                                                                                             | YES  |     | NULL           |                |
 * fa_bits             | int(11)                                                                                                | YES  |     | 0              |                |
 * fa_media_type       | enum('UNKNOWN','BITMAP','DRAWING','AUDIO','VIDEO','MULTIMEDIA','OFFICE','TEXT','EXECUTABLE','ARCHIVE') | YES  |     | NULL           |                |
 * fa_major_mime       | enum('unknown','application','audio','image','text','video','message','model','multipart')             | YES  |     | unknown        |                |
 * fa_minor_mime       | varbinary(100)                                                                                         | YES  |     | unknown        |                |
 * fa_description      | tinyblob                                                                                               | YES  |     | NULL           |                |
 * fa_user             | int(10) unsigned                                                                                       | YES  |     | 0              |                |
 * fa_user_text        | varbinary(255)                                                                                         | YES  | MUL | NULL           |                |
 * fa_timestamp        | binary(14)                                                                                             | YES  |     |                |                |
 * fa_deleted          | tinyint(3) unsigned                                                                                    | NO   |     | 0              |                |

 +--++--+-+++ +--++--+-+++ +--++--+-+++
 * Field               | Type                                                                                                   | Null | Key | Default        | Extra          |
 * fa_id               | int(11)                                                                                                | NO   | PRI | NULL           | auto_increment |
 * fa_name             | varbinary(255)                                                                                         | NO   | MUL |                |                |
 * fa_archive_name     | varbinary(255)                                                                                         | YES  |     |                |                |
 * fa_storage_group    | varbinary(16)                                                                                          | YES  | MUL | NULL           |                |
 * fa_storage_key      | varbinary(64)                                                                                          | YES  |     |                |                |
 * fa_deleted_user     | int(11)                                                                                                | YES  |     | NULL           |                |
 * fa_deleted_timestamp | binary(14)                                                                                            | YES  | MUL |                |                |
 * fa_deleted_reason   | blob                                                                                                   | YES  |     | NULL           |                |
 * fa_size             | int(10) unsigned                                                                                       | YES  |     | 0              |                |
 * fa_width            | int(11)                                                                                                | YES  |     | 0              |                |
 * fa_height           | int(11)                                                                                                | YES  |     | 0              |                |
 * fa_metadata         | mediumblob                                                                                             | YES  |     | NULL           |                |
 * fa_bits             | int(11)                                                                                                | YES  |     | 0              |                |
 * fa_media_type       | enum('UNKNOWN','BITMAP','DRAWING','AUDIO','VIDEO','MULTIMEDIA','OFFICE','TEXT','EXECUTABLE','ARCHIVE') | YES  |     | NULL           |                |
 * fa_major_mime       | enum('unknown','application','audio','image','text','video','message','model','multipart')             | YES  |     | unknown        |                |
 * fa_minor_mime       | varbinary(32)                                                                                          | YES  |     | unknown        |                |
 * fa_description      | tinyblob                                                                                               | YES  |     | NULL           |                |
 * fa_user             | int(10) unsigned                                                                                       | YES  |     | 0              |                |
 * fa_user_text        | varbinary(255)                                                                                         | YES  | MUL | NULL           |                |
 * fa_timestamp        | binary(14)                                                                                             | YES  |     |                |                |
 * fa_deleted          | tinyint(3) unsigned                                                                                    | NO   |     | 0              |                |

 +--++--+-+-++ +--++--+-+-++ +--++--+-+-++
 * Field               | Type                                                                                                   | Null | Key | Default | Extra          |
 * fa_id               | int(11)                                                                                                | NO   | PRI | NULL    | auto_increment |
 * fa_name             | varchar(255)                                                                                           | NO   | MUL |         |                |
 * fa_archive_name     | varchar(255)                                                                                           | YES  |     |         |                |
 * fa_storage_group    | varchar(16)                                                                                            | YES  | MUL | NULL    |                |
 * fa_storage_key      | varchar(64)                                                                                            | YES  |     |         |                |
 * fa_deleted_user     | int(11)                                                                                                | YES  | MUL | NULL    |                |
 * fa_deleted_timestamp | char(14)                                                                                              | YES  | MUL |         |                |
 * fa_deleted_reason   | text                                                                                                   | YES  |     | NULL    |                |
 * fa_size             | int(8) unsigned                                                                                        | YES  |     | 0       |                |
 * fa_width            | int(5)                                                                                                 | YES  |     | 0       |                |
 * fa_height           | int(5)                                                                                                 | YES  |     | 0       |                |
 * fa_metadata         | mediumblob                                                                                             | YES  |     | NULL    |                |
 * fa_bits             | int(3)                                                                                                 | YES  |     | 0       |                |
 * fa_media_type       | enum('UNKNOWN','BITMAP','DRAWING','AUDIO','VIDEO','MULTIMEDIA','OFFICE','TEXT','EXECUTABLE','ARCHIVE') | YES  |     | NULL    |                |
 * fa_major_mime       | enum('unknown','application','audio','image','text','video','message','model','multipart')             | YES  |     | unknown |                |
 * fa_minor_mime       | varchar(32)                                                                                            | YES  |     | unknown |                |
 * fa_description      | tinyblob                                                                                               | YES  |     | NULL    |                |
 * fa_user             | int(5) unsigned                                                                                        | YES  |     | 0       |                |
 * fa_user_text        | varchar(255)                                                                                           | YES  |     | NULL    |                |
 * fa_timestamp        | char(14)                                                                                               | YES  |     | NULL    |                |

 +--++--+-+-++ +--++--+-+-++ +--++--+-+-++
 * Field               | Type                                                                                                   | Null | Key | Default | Extra          |
 * fa_id               | int(11)                                                                                                | NO   | PRI | NULL    | AUTO_INCREMENT |
 * fa_name             | varchar(255)                                                                                           | NO   | MUL |         |                |
 * fa_archive_name     | varchar(255)                                                                                           | YES  |     |         |                |
 * fa_storage_group    | varchar(16)                                                                                            | YES  | MUL | NULL    |                |
 * fa_storage_key      | varchar(64)                                                                                            | YES  |     |         |                |
 * fa_deleted_user     | int(11)                                                                                                | YES  | MUL | NULL    |                |
 * fa_deleted_timestamp | char(14)                                                                                              | YES  | MUL |         |                |
 * fa_deleted_reason   | text                                                                                                   | YES  |     | NULL    |                |
 * fa_size             | int(8) unsigned                                                                                        | YES  |     | 0       |                |
 * fa_width            | int(5)                                                                                                 | YES  |     | 0       |                |
 * fa_height           | int(5)                                                                                                 | YES  |     | 0       |                |
 * fa_metadata         | mediumblob                                                                                             | YES  |     | NULL    |                |
 * fa_bits             | int(3)                                                                                                 | YES  |     | 0       |                |
 * fa_media_type       | enum('UNKNOWN','BITMAP','DRAWING','AUDIO','VIDEO','MULTIMEDIA','OFFICE','TEXT','EXECUTABLE','ARCHIVE') | YES  |     | NULL    |                |
 * fa_major_mime       | enum('unknown','application','audio','image','text','video','message','model','multipart')             | YES  |     | unknown |                |
 * fa_minor_mime       | varchar(32)                                                                                            | YES  |     | unknown |                |
 * fa_description      | tinyblob                                                                                               | YES  |     | NULL    |                |
 * fa_user             | int(5) unsigned                                                                                        | YES  |     | 0       |                |
 * fa_user_text        | varchar(255)                                                                                           | YES  |     |         |                |
 * fa_timestamp        | char(14)                                                                                               | YES  |     |         |                |