PHP Classes
elePHPant
Icontem

File: lob.sql

Recommend this page to a friend!
  Classes of zinsou A.A.E.Moïse  >  Handle Binary Files With PDO  >  lob.sql  >  Download  
File: lob.sql
Role: Auxiliary data
Content type: text/plain
Description: database sql file
Class: Handle Binary Files With PDO
Save and load binary files in databases using PDO
Author: By
Last change:
Date: 2 years ago
Size: 1,619 bytes
 

 

Contents

Class file image Download
-- phpMyAdmin SQL Dump
-- version 4.7.0
-- https://www.phpmyadmin.net/
--
-- Hôte : 127.0.0.1
-- Généré le :  ven. 10 nov. 2017 à 11:13
-- Version du serveur :  5.7.17
-- Version de PHP :  5.6.30

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;

--
-- Base de données :  `lob`
--
CREATE DATABASE IF NOT EXISTS `lob` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;
USE `lob`;

-- --------------------------------------------------------

--
-- Structure de la table `file`
--
-- Création :  ven. 10 nov. 2017 à 06:30
-- Dernière modification :  ven. 10 nov. 2017 à 10:10
--

DROP TABLE IF EXISTS `file`;
CREATE TABLE `file` (
  `id` int(11) NOT NULL,
  `contenttype` char(255) NOT NULL,
  `name` char(255) NOT NULL,
  `data` longblob NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Index pour les tables déchargées
--

--
-- Index pour la table `file`
--
ALTER TABLE `file`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `name` (`name`);

--
-- AUTO_INCREMENT pour les tables déchargées
--

--
-- AUTO_INCREMENT pour la table `file`
--
ALTER TABLE `file`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;COMMIT;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;